:root .tyt{
  --border-mail: #50A447;
}
:root .tet{
  --border-mail: #50A447;
}
:root{
  --border-mail: #50A447;
}
::-webkit-scrollbar {
    background-color: #1d1c1c;
}

::-webkit-scrollbar-thumb {
    background-color: #514F4F;
    border-radius: 10px;
}
.nav-link-style {
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  display: inline-block;
  position: relative;
}

.nav-link-style::before {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #45d16a;
  transform-origin: bottom left;
  transition: all 0.3s ease-out;
}

.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link {
  color: #45d16a !important;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  display: inline-block;
  position: relative;
}

.nav-link-style:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-link-style:hover {
  color: #45d16a !important;
}

.nav-link-style-blue {
  color: var(--bs-link-color) !important;
}

.navbar-toggler {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
  width: 20px;
  height: 20px;
  position: relative;
  transition: 1s ease;
}

.toggler-icon {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #fff;
  left: 0;
}

.collapsed .bottom-bar {
  margin-top: 0.8rem !important;
  background-color: #fff !important;
}

.collapsed .top-bar {
  margin-bottom: 0.7rem !important;
  background-color: #fff !important;
}

.middle-bar {
  margin-top: 0px;
}

.navbar-toggler .top-bar {
  margin-top: 0px;
  transform: rotate(135deg);
  transition: 0.2s all ease-in-out;
  background-color: #fff;
}

.navbar-toggler .middle-bar {
  opacity: 0;
  filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
  margin-top: 0px;
  transform: rotate(-135deg);
  transition: 0.2s all ease-in-out;
  background-color: #fff;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0deg);
  background-color: #fff;
  transition: 0.2s all ease-in-out;
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0deg);
  transition: 0.2s all ease-in-out;
  background-color: #000;
}

.collapse:not(.show)>ul>li>hr.mobilehr {
  display: none;
}

hr {
  color: #fff;
}

.footer {
  height: 53px;
  background-color: #000;
}
.p-foot {
  color: white;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.39;
  font-weight: 400;
}
.linkfoot {
  color: #4285f4;
}

.linkfoot:hover {
  color: #185abc;
}


.aside_contact {
  display: grid;
  grid-template-columns: 35% 65%;
  height: calc(100vh - 124px);
  margin: 0; 
  padding: 0;
  overflow-y: auto;
}

.google_map {
  display: grid;
  justify-content: start;
  align-items: center;
}

.google_map iframe {
  display: flex; 
  padding-bottom: -8%; 
  max-width: 100%; 
  position: absolute;
  bottom: 0;
  top: 0%;
  left: 0;
  overflow: hidden;
  margin: auto;
  height: 350px;
  transform: translateX(-550px);
}

.google_map button {
  border: #185abc solid 2px;
  height: fit-content;
  background-color: #185abc;
  transform: translateX(50px);
}

.aside_contact .google_map button img {
  height: 60px;
  width: 100%;
}

.back-video {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: auto;
}

.grid-2-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
}

.grid__cols {
  display: grid;
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  font-family: "Raleway", sans-serif; 
  font-weight: 500;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  color: white;
  width: 100%;
  padding: 20px;
}

form .form {
  position: relative;
  height: 80px;
  overflow: hidden;
}

form .form input {
  width: 100%;
  height: 90%;
  padding-top: 50px;
  background: none;
  appearance: none;
  border: none;
  padding-left: 22px;
  font-size: 18px;
  color: white;
  transition: all 0.3s ease; 
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border: none;
}

form .form label {
  padding-top: 15px;
  position: absolute;
  bottom: 0px;
  color: #fff;
  left: 0%;
  width: 100%;
  height: 80%;
  pointer-events: none;
  padding-left: 20px;
  font-size: 25px;
  border-bottom: 1px solid #fff;
  transition: height .3s ease-out;
}

.name-section {
  background: #130f40;
}

form .form label::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 50%;
  border-bottom: 5px solid;
  border-color: var(--border-mail);
  left: 50%;
  bottom: -3%;
  transform: translateX(-50%) scaleX(0);
  transition: all .7s ease;
}

.content-name{
  font-size: 20px;
  transition: all .3s ease-in-out;
  text-align: right;
  transform-origin: center;
}

.label-name {
  position: relative;
}

form .form input:focus + .label-name .content-name,
form .form input[value]:valid + .label-name .content-name {
  transform: translateY(-100%) translateX(-100%);
  font-size: 15px;
}

form .form input:focus + .label-name::before,
form .form input[value]:valid + .label-name::before {
  transform: translateX(-50%) scaleX(2);
}

form .form input:focus + .label-name,
form .form input[value]:valid + .label-name,
form .form input:target + .label-name {
  height: 125%; 
}

form .form input:focus + .label-name .content-name,
form .form input[value]:valid + .label-name .content-name,
form .form input:target + .label-name .content-name {
  transform: translateY(-100%) translateX(-20%);
  font-size: 15px;
}

form .form input:focus:not(:placeholder-shown) + .label-name,
form .form input:not(:placeholder-shown) + .label-name {
  height: 125%;
}

form .form input:focus:not(:placeholder-shown) + .label-name .content-name,
form .form input:not(:placeholder-shown) + .label-name .content-name {
  transform: translateY(-100%) translateX(-20%);
  font-size: 15px;
}

form .form input:focus:not(:placeholder-shown) + .label-name::before,
form .form input:not(:placeholder-shown) + .label-name::before {
  transform: translateX(-50%) scaleX(2);
}

form .form input[type="email"]:focus:not(:placeholder-shown) + .label-name,
form .form input[type="email"]:not(:placeholder-shown) + .label-name {
  height: 125%;
}

form .form input[type="email"]:focus:not(:placeholder-shown) + .label-name .content-name,
form .form input[type="email"]:not(:placeholder-shown) + .label-name .content-name {
  transform: translateY(-100%) translateX(-20%);
  font-size: 15px;
}

form .form input[type="email"]:focus:not(:placeholder-shown) + .label-name::before,
form .form input[type="email"]:not(:placeholder-shown) + .label-name::before {
  transform: translateX(-50%) scaleX(2);
}

#chkbx {
  display: none; 
}

.custom-checkbox {
  display: inline-block;
  cursor: pointer;
  text-align: center;
}

.custom-checkbox > p {
  width: auto;
  font-size: 16px;
}

.custom-checkbox .checkbox-icon {
  font-size: 1.5rem;
  transition: color 0.3s ease; 
  color: var(--color-check);
}

#chkbx:checked + label .checkbox-icon {
  color: #50A447;
}

.message_area {
  position: relative;
}

.message_area textarea {
  background-color: transparent;
  margin-top: 25px;
  resize: none;
  width: 100%;
  text-align: center;
  color: white;
  display: grid;
  place-items: center;
  border: solid 1px white;
}

.message_area .border--top{
  position: absolute;
  top: 24%;
  left: 0;
  width: 0%;
  height: 3px;
  border-top: 2px solid #50A447;
  transition: width 1s ease;
}

.message_area:has(:hover, :focus) .border--top {
  position: absolute;
  top: 24%;
  left: 0;
  width: 100%;
  height: 3px;
  border-top: 2px solid #50A447;
}

.message_area:not(:hover, :focus) .border--top {
  transition-delay: 2900ms;
}

.message_area .border--left {
  position: absolute;
  bottom: 0%;
  left: 0;
  width: 3px;
  height: 0%;
  border-left: 2px solid #50A447;
  transition: height 1s linear;
  transition-delay: 2900ms;
}

.message_area:has(:hover, :focus) .border--left {
  position: absolute;
  bottom: 0%;
  left: 0;
  width: 3px;
  height: 76%;
  border-left: 2px solid #50A447;
}

.message_area:not(:hover, :focus) .border--left {
  transition-delay: 0ms;
}

.message_area .border--bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 3px;
  border-bottom: 2px solid #50A447;
  transition: width 1s linear;
  transition-delay: 1900ms;
}

.message_area:has(:hover, :focus) .border--bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
  border-bottom: 2px solid #50A447;
}

.message_area:not(:hover, :focus) .border--bottom {
  transition-delay: 950ms;
}

.message_area .border--right {
  position: absolute;
  top: 24%;
  right: 0;
  width: 3px;
  height: 0%;
  border-right: 2px solid #50A447;
  transition: height 1s linear;
  transition-delay: 900ms;
}

.message_area:has(:hover, :focus) .border--right {
  position: absolute;
  top: 24%;
  right: 0;
  width: 3px;
  height: 76%;
  border-right: 2px solid #50A447;
}

.message_area:not(:hover, :focus) .border--right {
  transition-delay: 1900ms;
}

.grid__cols form div:nth-child(1) {
  grid-column: 1/2;
}

.grid__cols form div:nth-child(2) {
  grid-column: 2/3;
}

.grid__cols form div:nth-child(3) {
  grid-column: 1/3;
}

.grid__cols form div:nth-child(4) {
  grid-column: 1/3;
}

.grid__cols form div:nth-child(5) {
  grid-column: 1/3;
}

.grid__cols form div:nth-child(6) {
  grid-column: 1/3;
}

.grid__cols form label:nth-child(7) {
  grid-column: 1/3;
}

.grid__cols form button {
  grid-column: 1/3;
  border-radius: 5px;
  border: solid 1px white;
  font-weight: 700;
  background: transparent;
  color: white;
  height: 50px;
  font-size: .9rem;
  position: relative;
  overflow: hidden;
}

.grid__cols form button::before,
.grid__cols form button::after {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  background: rgba(81, 203, 124, 0.3);
  transition: all 0.4s ease-out;
  z-index: -1;
}

.grid__cols form button::before {
  left: 0;
  top: 0;
}

.grid__cols form button::after {
  right: 0;
  top: 0;
}

.grid__cols form button:hover::before {
  width: 100%;
}

.grid__cols form button:hover::after {
  width: 100%;
}

.right_column .columns {
  display: grid;
  text-align: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  border-top-right-radius: 100px;
  border-bottom-left-radius: 100px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: white;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.error{
  display: none;
  color: #ff4a4a;
}
.right_column .columns h1 {
  margin-bottom: 3rem;
  font-size: 2.2rem;
  border-bottom: green solid 2px;
  -webkit-text-stroke: 1px white;
  color: transparent;
  height: 60%;
  font-weight: lighter;
}

.right_column .columns p {
  font-size: 1rem;
  color:#3c9232;
}

.right_column .columns h2 {
  font-size: 1.7rem;
}

.right_column .columns h3 {
  font-size: 1.1rem;
}

@media (min-aspect-ratio: 16/9) {
  .back-video {
      width: 100%;
      height: auto;
  }
}

@media (max-aspect-ratio: 16/9) {
  .back-video {
      width: auto;
      height: 100%;
  }
}

@media (max-width: 1880px) {
  .google_map {
    display: none;
  }

  .aside_contact {
    grid-template-columns: 100%;
  }

  .grid__cols {
    grid-template-columns: none;
 }
}

@media (max-width: 1461px) {
  .error_email {
    bottom: 81% !important;
    right: 10%;
    width: 100%;
  }

  .er2 {
    position: fixed;
    bottom: 66%;
    left: 10%;
  }
}


@media (max-width: 600px) {
  .aside_contact .google_map button{
      display: none;
  }

  .google_map {
      display: none;
  }

  .grid-2-columns {
      display: grid;
      grid-template-columns: 100% 100%;
  }

  .right_column {
      grid-column: 3;
      width: clamp(200px, 170%, 800px);
  }

  .right_column .columns {
      gap: 0;
      padding: 0;
      width: clamp(200px, 100%, 800px);
      border-top-right-radius: 0;
      border-bottom-left-radius: 0;
  }
  .left_column {
    grid-column: 2;
  }
}

@media (max-width: 839px) {
  .left_column {
    grid-column: 1;
  }
  .right_column {
    grid-column: 2;
    width: clamp(200px, 100%, 800px);
  }
}

@media (max-width: 680px) {
  .grid-2-columns {
    display: grid;
    grid-template-columns: 100%;
  }
  form {
    width: auto;
  }
  .grid__cols {
    grid-template-columns: 1fr;
    margin: auto;
  }
}

@media (max-width: 567px) {
  .right_column {
    display: none;
  }

  .left_column {
    grid-column: 1/2;
  }
}