* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.2;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
a:any-link {
  text-decoration: none;
  color: #ffffff;
}

:root {
  --primary-color: #222831;
  --Secondary-color: #31363f;
  --base-color: #aa3235;
  --bg-color: #eeeeee;
}

#google_translate_element {
  display: none;
  position: absolute; /* Position it absolutely */
  z-index: 1000; /* Ensure it appears on top */
  background: white; /* Optional: background for better visibility */
  padding: 10px; /* Optional: padding for aesthetics */
  border: 1px solid #222831; /* Optional: border for aesthetics */
  background-color: #222831;
}
n .goog-te-gadget-simple {
  background-color: #222831 !important;
  border: none !important;
}
.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed {
  color: #ffffff !important;
  background-color: #222831 !important;
}
.icon {
  display: inline-block;
  cursor: pointer; /* Change cursor to pointer on hover */
  position: relative; /* Position the icon relative to show the translate element */
}

.icon:hover + #google_translate_element,
#google_translate_element:hover {
  display: block; /* Show the translate element on icon hover or when hovering over the element */
}

html,
body {
  height: 100%;
  width: 100%;
}
body {
  overflow-x: hidden;
}

/* form   */

.formpopup {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 5000;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.form-right {
  /* overflow: scroll; */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: sans-serif;
  height: 100%;
  min-width: 500px;
}

#formHalfFields {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  /* row-gap: 10px; */
}
#formSubmitImg {
  /* width: 100%; */
  height: 70%;
  position: absolute;
  /* top: 0; */
  object-fit: contain;
  display: none;
}

.inner-cont {
  background-color: #ffffff29;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  max-width: 485px;
  width: 100%;
  position: relative;
  backdrop-filter: blur(12px);
  color: #fff;
}
.top-right-icon {
  font-size: 24px; /* Size of the icon */
  color: white; /* Color of the icon */
  z-index: 10; /* Ensure it stays on top of other elements */
  cursor: pointer; /* Indicates it's clickable */
  border-radius: 50%;
  width: 33px;
  height: 33px;
  display: flex;
  justify-content: center;
  align-items: center;

  text-align: right;
  position: absolute;
  right: 10px;
  top: 10px;
}

.top-right-icon:hover {
  background-color: #e7e2e2bd;
}

.heading {
  /* color: #222831; */
  font-size: 20px; /* Reduced font size */
  margin-bottom: 10px;
}

.subheading {
  color: #afafaf;
  font-size: 14px;
  margin-bottom: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.form-group {
  margin-bottom: 10px; /* Reduced margin */
  width: 100%;
}
#formHalfFields .form-group {
  width: 49% !important;
}

#formHalfFields .form-group:last-child {
  width: 100% !important;
}

.form-group label {
  display: block;
  font-size: 12px; /* Reduced font size */
  margin-bottom: 4px;
}

.required {
  color: red;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  background: transparent;
  color: #fff;
  outline: none;
  box-shadow: 0 0 1px #fff;
}

.contact-form input::placeholder {
  color: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.form-btn {
  text-align: center;
}

.submit-button {
  background-color: #aa3235;
  border: none;
  color: #fff;
  padding: 4px;
  border-radius: 10px;
  font-size: 19px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 70%;
}

.submit-button:hover {
  color: black;
  transition: all 0.3s ease-in;
}

label {
  font-weight: 550;
}

#option {
  color: black;
}

/* Changing the background color for the dropdown options on hover */
#project-duration option:hover {
  background-color: #b14141; /* Desired background color on hover */
  color: #fff; /* Text color on hover */
}

/* For screens with a max width of 500px */
@media (max-width: 500px) {
  .form-right {
    min-width: 100%; /* Full width for small screens */
  }

  .inner-cont {
    max-width: 100%; /* Full width for the form container */
    padding: 10px; /* Add padding to ensure spacing */
  }

  .top-right-icon {
    font-size: 18px; /* Adjust icon size */
    right: 5px;
    top: 5px;
  }

  .heading {
    font-size: 16px; /* Adjust font size for headings */
  }

  .submit-button {
    font-size: 16px; /* Adjust font size for button */
    width: 90%; /* Adjust button width */
  }

  .form-group label {
    font-size: 12px; /* Smaller label text */
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 12px; /* Smaller input text */
    padding: 10px; /* Adjust padding for inputs */
  }

  #formSubmitImg {
    height: 50%; /* Adjust image size */
  }

  /* Adjusting form layout */
  #formHalfFields .form-group {
    width: 100% !important; /* Stack fields vertically */
  }

  /* Optional: Adjust margins or spacing */
  .form-container {
    margin: 0 auto; /* Center the form container */
  }
}
.timezonecolor {
  color: black;
}

.images-home {
  background-color: #1a3a3612;
  width: 100%;
  height: 140px;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.home-foot-head {
  font-size: 20px;
  font-weight: 500;
  color: #31363f;
}
.images-home :nth-child(1) {
  font-weight: 700;
}
.images-home :nth-child(1) span {
  color: #76abae;
  font-weight: 700;
  font-size: large;
}

.pricing {
  border: 1px solid #aa3235;
  border-left: none;
  border-right: none;
  margin-top: 2%;
}

/* Pricing Page */

.box-container {
  align-items: center;
  padding: 6rem 0rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex-direction: row;
}

.box-container .main-box-container {
  cursor: pointer;
  transition: all 0.5s ease;
  /* min-height: 50vh; */
  min-width: 23%;
  background: #fff;
  border-radius: 6px;
  backdrop-filter: blur(10px);
  border: none;
  outline: none;
  padding: 1.5rem;
  text-align: center;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.5));
}

.box-container .main-box-container:hover {
  transform: scale(1.05);
}

.box-container .box {
  background-color: var(--bg-color);
  height: 100%;
  border-radius: 10px;
  padding-top: 1rem;
}

.box-container .box h3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.6rem;
  color: var(--primary-color);
}

.box-container .box .number {
  color: var(--base-color);
  font-size: 32px;
  font-weight: 500;
}

.box-container .box p {
  font-size: 1rem;
  color: var(--Secondary-color);
  line-height: 2;
  padding-bottom: 3rem;
}

.price-img img {
  width: 150px;
}

.btn {
  padding: 18px 30px;
  cursor: pointer;
  background-color: #9e282b;
  border-top-left-radius: 1px;
  border-top-right-radius: 24px;
  border-end-end-radius: 1px;
  border-end-start-radius: 24px;
  color: var(--bg-color);
  font-size: 18px;
  filter: drop-shadow(10px 10px 15px rgba(0, 0, 0, 0.5));
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #b14141;
  transform: scale(1.05);
}

.btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.box-container .main-box-container:focus {
  outline: 2px solid var(--primary-color);
}

@media (max-width: 1030px) {
  .box-container .main-box-container {
    min-width: 41%;
  }
}

/*next page*/
.remote {
  display: flex;
  text-align: center;
  background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.7)),
    url(../Assets/allimages/home/Nadezhdaventurehomepageimage.png) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  /* height: 65%; */
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 100px 0px;
}

/* Responsive font size adjustments */
.remote :nth-child(1) {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: #aa3235;
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 1s ease-in-out 0.5s forwards;
  margin-bottom: 50px;
}

.remote :nth-child(2) {
  text-align: center;
  width: 70%;
  font-size: 16px;
  letter-spacing: 0.64px;
  line-height: 2.1;
  color: #eeeeee;
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 1s ease-in-out 1s forwards;
}

/* Media Queries */
@media (max-width: 768px) {
  .remote {
    padding: 0 15px;
  }

  .remote :nth-child(1) {
    font-size: 32px; /* Smaller font size for smaller screens */
  }

  .remote :nth-child(2) {
    font-size: 14px;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 480px) {
  .remote {
    height: 70vh; /* Allow height to adjust for small screens */
  }

  .remote :nth-child(1) {
    font-size: 24px; /* Even smaller font size for mobile */
  }

  .remote :nth-child(2) {
    font-size: 12px;
    letter-spacing: 0.4px;
  }
}

/* Animation keyframes */
@keyframes slideUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

hr {
  /* border: none;  */
  border-top: 0.5px solid #eeeeee; /* 1px thick line */
  margin: 0; /* Optional: remove default margin */
}

.video-page {
  width: 100%;
  padding: 70px 30px;
  background-color: #31363f;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.video-section1 {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: baseline;
  padding: 0 0 5px 5px;
}

.video-section1 h5,
.video-section1 h6 {
  font-size: 32px;
  font-weight: 300;
  color: #aa3235;
}

.video-page h5 {
  color: #aa3235;
}

.video-section1,
.video-section2 {
  /* height: 50vh; */
  min-width: 40%;
  max-width: 50%;
}

.video-section2 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.video-section2 video {
  height: 100%;
  width: 100%;
  max-width: 655px;
}
.popup {
  display: none;
  width: 640px;
  height: 360px;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  display: none; /* Hidden by default */
}

.thumbnail-overlay img {
  max-width: 100%;
  max-height: 100%;
}

/* Media Queries for Responsiveness */

/* Large Screens (Desktops and Laptops) */
@media (min-width: 1024px) {
  .video-page {
    flex-direction: row;
  }

  .video-section1,
  .video-section2 {
    min-width: 45%;
  }
}

/* Tablets */
@media (max-width: 1023px) and (min-width: 768px) {
  .video-section1,
  .video-section2 {
    min-width: 80%;
    max-width: 90%;
  }

  .video-section1 h5,
  .video-section1 h6 {
    font-size: 28px; /* Slightly smaller text */
  }

  .video-page {
    padding: 15px;
  }
}

/* Small Screens (Mobile devices) */
@media (max-width: 767px) {
  .video-page {
    flex-direction: column;
    height: auto; /* Allow the height to be flexible */
  }

  .video-section1,
  .video-section2 {
    min-width: 90%;
    max-width: 100%;
    height: auto; /* Adjust height for smaller screens */
  }

  .video-section1 h5,
  .video-section1 h6 {
    font-size: 24px; /* Smaller font size for mobile */
  }

  .video-section2 video {
    max-width: 100%;
    height: auto; /* Let the video adapt its height */
  }
}

/*skill page*/
.skillsPage {
  /* height: 100%; */
  width: 100%;
  background: #31363f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* Large Screens (Desktops and Laptops) */
@media (min-width: 1024px) {
  .skillsPage .technology {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .video-section1,
  .video-section2 {
    min-width: 45%;
  }
}

.skillsPage h1 {
  font-size: 2rem;
  text-align: center;
}

/* Responsive font size for .skillsPage h1 */
@media (max-width: 768px) {
  .skillsPage h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .skillsPage h1 {
    font-size: 1.75rem;
  }
}

.skillsContainer {
  width: 90%;
  margin: 0px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2em;
  margin-bottom: 2em;
  /* overflow: hidden; */
  align-content: center;
  align-items: center;
  justify-content: center;
}

/* Responsive layout for .technology */
.technology {
  min-width: 150px;
  min-height: 150px;
  width: 20%;
  height: 20%;
  display: flex;
  justify-content: space-evenly;
  /* padding: 0 15px; */
  align-items: center;
  box-shadow: 0px 0px 1px 1px #fff;
  transition: transform 0.5s ease;
  cursor: pointer;
  border-radius: 5px;
}

.technology:hover {
  transform: scale(1.1);
}

/* .technology img {
  max-height: 80%;
  max-width: 30%;
  object-fit: contain;
} */

.technology p {
  /* width: 65%; */
  color: #eeeeee;
  text-align: center;
}

/* Adjust .technology layout on smaller screens */
@media (max-width: 768px) {
  .technology {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .technology {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    padding: 10px;
  }

  .technology img {
    max-width: 25%;
  }

  .technology p {
    width: 70%;
  }
}

#skillsPage-HEADING {
  text-shadow: 2px 1px 1px rgba(0, 0, 0, 0.5);
  margin-top: 50px;
  font-size: 38px;
  color: #aa3235;
  text-transform: uppercase;
}

.advantages-heading {
  width: 100%;
  padding-top: 4rem;
  /* background-color: #dedbdb; */
  display: grid;
  flex-direction: column;
  place-items: center;
}
.advantages-heading p {
  text-align: center;
  font-size: 20px;
  width: 80%;
}
.advantages-heading h2 {
  font-size: 2.5rem;
  color: #aa3235;
  margin-top: 25px;
  text-align: center;
}
.advantages {
  /* background-color: #dedbdb; */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  flex-direction: row;
}
.main-card {
  width: 30%;
  min-width: 215px;
  min-height: 400px;
  display: grid;
  place-items: center;
  border-radius: 25px 5px;
  filter: drop-shadow(10px 10px 15px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s ease;
  cursor: pointer;
}
/* .main-card:hover{
  transform: scale(1.1);
} */

.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgb(204 185 185 / 14%), #e5e5e5);
  border-radius: 5px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
  backdrop-filter: blur(5px);
}

.layer h3 {
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 25px;
}
.layer a {
  margin-top: 20px;
  color: #aa3235;
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  text-align: center;
}

.main-card:hover .layer {
  height: 100%;
}

.card {
  width: 90%;
  text-align: center;
  min-height: 100%;
  background-color: #eeeeee;
  padding: 12%;
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.card:hover {
  backdrop-filter: blur(5px);
}
.card-body p {
  font-size: 20px;
  font-weight: 300;
}
.card-body h5 {
  font-size: 30px;
  font-weight: 500;
}
@media (max-width: 650px) {
  .main-card {
    width: 90%;
  }
}

.heading_with_button {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  margin: 7rem auto;
}

.sub_child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80%;
}
.subchild_heading {
  font-size: 2rem;
  margin: 50px 0px;
  text-align: center;
}
.subchild_button {
  padding: 15px;
  border: none;
  outline: none;
  border-radius: 100px;
  font-size: large;
  font-weight: 500;
  background-color: #aa3235;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
  cursor: pointer;
  transition: ease 0.5s;
  color: #ffffff;
}
.subchild_button:hover {
  background-color: #ffffff;
  color: #aa3235;
}

#particles-js {
  position: absolute;
  /* height: 80%; */
  width: 100%;
}

.home-img {
  margin-top: 80px;
  height: 100vh;
  width: 100%;
  background: #31363f;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers text vertically */
  align-items: center; /* Centers text horizontally */
  color: #fff; /* White text color for better contrast on dark background */
  text-align: center; /* Center text alignment */
  padding: 20px; /* Add padding to prevent text from touching edges */
}

.home-img p {
  font-size: 30px;
  margin-bottom: 10px;
}

.home-img h1 {
  font-size: 54px;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1.14px;
  margin: 0; /* Remove default margin */
}
.home-img button {
  background-color: #aa3235;
  border: none;
  cursor: pointer;
  width: 18rem;
  height: 3rem;
  z-index: 100;
  border-radius: 5px;
  transition: ease 0.5s;
  color: #fff;
}
.home-img button:hover {
  color: black;
}

/* For screens smaller than 576px */
@media (max-width: 575px) {
  .home-img {
    min-width: 100%;
    text-align: center;
    padding: 20px;
  }

  .home-img h1 {
    font-size: 1.5rem;
  }

  .home-img p,
  .home-img .pricing p {
    font-size: 0.9rem;
  }

  .home-img button {
    padding: 6px 15px;
    font-size: 0.9rem;
  }
}

.slider-container {
  width: 100%;
  overflow: hidden;
}

.slider-line {
  display: flex;
  margin: 10px 0;
}

.slider-track {
  display: flex;
}

.slider-track img {
  width: 150px;
  height: 150px;
  margin: 0 10px;
  border-radius: 10px;
}

/* Forward sliding animation */
.forward .slider-track {
  animation: slideForward 210s linear infinite;
}

/* Backward sliding animation */
.backward .slider-track {
  animation: slideBackward 210s linear infinite;
}

@keyframes slideForward {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slideBackward {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222831;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 1em;
  z-index: 1000;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.cookie-banner p {
  margin: 0;
  padding-right: 10px;
}

.cookie-banner a {
  color: #aa3235;
  text-decoration: underline;
}

.cookie-banner button {
  background-color: #aa3235;
  color: #222831;
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  cursor: pointer;
  font-size: 1em;
  border-radius: 5px;
}

.cookie-banner button:hover {
  background-color: #aa3235;
}

/* Cookie Settings Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.modal-content h2 {
  color: #222831;
}

.modal-content label {
  display: block;
  margin: 10px 0;
  font-size: 1em;
  color: #555;
}

.modal-buttons {
  margin-top: 20px;
}

.modal-buttons button {
  background-color: #0056b3;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  cursor: pointer;
  font-size: 1em;
  border-radius: 5px;
}

.modal-buttons button:hover {
  background-color: #00408a;
}
