/* Global styles */
body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing:border-box;
    line-height: 30px;
    color: #000000; /* Default text color */
    margin: 0 auto;
    background-color: #ffffff; /* Added background color to fill entire page */
    background-size: 100% auto; /* Adjust the background size to fit the viewport width */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the background image */
    z-index: -1; /* Place the image behind other content */
}

html {
  scroll-behavior: smooth; /* Enable smooth scrolling behavior for the entire page */
}


  /* Styling navigation bar */
header {
  max-width: 1200px;
  height: 64px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
  
.burger-menu {
  display: none; /* Hide UL elements by default */
    width: 32px; /* Set the width of the icon */
    height: 32px; /* Set the height of the icon */
    cursor: pointer;
    background-image: url('burger-menu.svg'); /* Default icon */
    background-size: cover; /* Ensure the icon fills the container */
    transition: background-image 0.3s ease; /* Smooth transition */
  }
  
  .burger-menu:hover {
    background-image: url('burger-menu-purple.svg'); /* Icon on hover */
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 80px;
  }

  .grey-container-hero {
    display: flex; /* Use flexbox */
    justify-content: space-between;
    border-radius: 24px;
    background-color: #F5F5F7;
    margin-top: 20px;
    width: 100%; /* Fill the whole space */
    min-height: 400px;
    max-height: 460px; /* Maximum height */
    overflow-y: auto; /* Add scroll bar if needed */
    scrollbar-width: none;
}


.gif {
    display: flex;
    justify-content: right; /* Horizontally center items */
    align-items: right; /* Vertically center items */
    /* Additional styles for the container */
}

.gif img {
    max-width: 100%;
    max-height: 100%;
    z-index: 0;
}

.pic {
    display: flex;
    padding-left: 10vw;
    z-index: 1;
    object-fit: contain; /* Adjust to 'cover' if needed */
    justify-content: center; /* Horizontally center items */
    align-items: center; /* Vertically center items */
}

.grey-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Horizontally center items */
    align-items: center; /* Vertically center items */
    border-radius: 24px;
    background-color: #ffffff;
    margin-top: 40px;
    width: 100%;
    max-height: 1000px;
    overflow-y: auto;
}

.grey-container2 {
    display: flex; /* Use flexbox */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    max-height: 600px;
    justify-content: space-between;
    border-radius: 24px;
    background-color: #F5F5F7;
    margin-top: 40px;
    width: 100%; /* Fill the whole space */
    overflow-y: auto; /* Add scroll bar if needed */
  overflow: hidden; /* Скрыть обе полосы прокрутки */
}

.grey-container2 h3 {
    font-weight: 400;
}

  .logo {
      display: flex;
    color: rgb(0, 0, 0);
    justify-content: center;
  }
  
  .hero {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    color: rgb(0, 0, 0);
    padding-top: 82px;
    text-align: left;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 100%; /* Set maximum width */
    width: 100%; /* Occupy full width of the container */
  }

  .hero-title {
    font-family: 'Inter', sans-serif;
    font-size: calc(16px + 2vw); /* Adjust base size and scaling factor as needed */
    margin-bottom: 20px;
    line-height: 16px;
    width: 100%;
  }
  
  .hero-text {
    color: #000000;
    line-height: auto;
    font-size: 24px;
    font-weight: 600;
    text-align: left; /* Выравнивание текста по правому краю */
    width: 100%;
  }
  
  
  .hero-button {
    padding: 15px 20px;
    font-size: 16px;
    background-color: #F6C02A;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.4s ease, box-shadow 0.4s ease; /* Transition property for background-color and box-shadow */
  }
  
  .hero-button:hover {
    background-color: #D6A624; /* New background color on hover */
  }

  .button-tertiary {
    color:#5454D4;
    cursor: pointer;
    transition-duration: 0.4s;
    }
    
 .button-tertiary:hover {
  color:#ffffff;
   cursor: pointer;
    }
  

.promo-video video {
    width: 100%;
    height: auto;
    overflow-x: hidden;
}

.promo-video h2 {
    font-size: 36px;
}

/* We Work With section styles */
.we-work-with {
  color: #000000;
  padding: 60px 0;
  font-size: 24px;
  text-align: left;
}

.we-work-with-container {
  display: flex;
  flex-wrap: row; /* Allow items to wrap onto the next line */
  justify-content: center; /* Center items horizontally */
  gap: 20px; /* Adjust the space between items as needed */
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px; /* Set maximum width for the container */
}

.company {
    flex: 1 1 auto;
    min-width: 200px;
    background-color: #242424;
    padding: 20px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
  }
  
  .company h6 {
    color: #ffffff;
    line-height: 30px;
    font-weight: 200;
    margin: 0px;
  }
  
  .description-container {
    display: flex;
    margin-top: 8px;
    align-items: flex-start; /* Align items to the top */
  }

  .description-container img {
    width:170px;
    height: 170px;
  }
  
  .company p {
    color: #ffffff;
    line-height: 26px;
    margin-top: 0; /* Remove the top margin */
    margin-bottom: 8px; /* Add bottom margin for spacing */
    font-size: 20px;
    font-weight: 600;
  }
  
  .company img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin-left: 20px;
  }

 /* walkthrough section styles */
.walkthrough {
    color: #000000;
    padding: 60px 0;
    font-size: 24px;
    text-align: left;
}

.tab-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.tabs {
    padding: 64px; /* Add units (e.g., px) to the padding value */
    padding-bottom: 32px;
    max-width: 400px; /* Remove max-width */
    height: auto; /* Let the height adjust dynamically */
    flex-direction: column; /* Stack tabs vertically */
}

.tab {
    cursor: pointer;
    margin-bottom: 16px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 16px;
}

.tab h3 {
    margin: 0;
    padding-right: 10px;
    font-weight: 400;
}

.image-container {
    float: right; /* Float the image to the right */
    margin-top: 70px; /* Adjust margin for better spacing */
     margin-right: 240px; /* Adjust margin for better spacing */
}

.image-container img {
     max-width: 600px;
     max-height: 600px;
}

.tab .description {
    display: none;
    font-size: 18px;
}

.rotated {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

  
.launching {
    margin-top: 82px;
    display: flex; /* Use flexbox for easy centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%; /* Set to the height of the container */
    font-size: 36px; /* Set the font size */
    color: #000000; /* Default text color */
    padding-bottom: 128px; /* Add some space between the text and the line */
  }
  
  .launching div {
    text-align: center; /* Center the text inside the div */
  }
  
  .launching div span {
    color: #F6C02A; /* Color for "Winter 2024" */
  }
  
  
.button-regular {
  max-width: 100%;
  height: auto;
  padding: 12px 25px;
  background-color: #5454d4;
  color: rgb(0, 0, 0);
  border-radius: 32px;
  font-size: 14px;
  transition-duration: 0.4s;
  margin-bottom: 20px;
  margin-top: 10px;
  cursor: pointer;
  white-space: normal;
}

.button-regular:hover {
  background-color: #7a7afc;
}

/* Footer styles */
.site-footer {
    padding-top: 50px;
    font-family: 'Cairo', sans-serif;
    border-top: 1px solid #ccc; /* Add a bottom border */
  }
  
  .site-footer p {
margin: 0px;
  }

  .footer-content {
    display: flex;
    justify-content: left;
    align-items: center;
    max-width: 1200px;
    max-height: 200px;
    padding-bottom: 50px;
    margin: 0 auto;
  }
  
  .footer-logo {
    display: flex; /* This will create a flex container */
    flex-direction: row; /* This will align children in a row */
    align-items: center; /* This will vertically center the items */
    justify-content: flex-start; /* This will align items to the start of the container */
    padding-right: 50px;
  }
  

  .footer-logo img {
    width: 60px; /* Adjust as needed */
    margin-right: 20px;
  }
  
  .footer-logo p {
    max-width: 280px;
    flex: 1;
    line-height: 20px;
  }
  
  .footer-contact, .footer-misc, .footer-social {
    display: flex;
    flex-direction: column;
    padding-right: 50px;
  }
  
  .footer-contact p, .footer-misc p, .footer-social p {
 margin: 0px;
 padding: 0px;
  }
  
  .footer-contact h4, .footer-misc h4, .footer-social h4 {
    margin: 0px;
  }
  
  .footer-social .social-icon {
    /* Placeholder styles for social media icons */
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 14px;
    opacity: 50%;
  }
  
/* signup page */

  .google-form {
    max-width: 1000px; /* Set a maximum width for the form */
    margin: 0 auto; /* Center horizontally */
    padding: 20px; /* Add some padding around the form */
    padding-top: 64px; 
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center items */
    align-items: center; /* Horizontally center items */
  }

  .form-iframe {
        width: 100%; /* Make the iframe fill the container horizontally */
        border: none; /* Remove iframe border */

  }

  .tab-list li {
    display: inline;
    margin-right: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    background-color: #ddd; /* Set default background color */
  }

  .tab-list li.active-tab {
    background-color: #F6C02A;
  }

  input, select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 12px;
    margin: 8px 0;
    border: 1px solid #cecece;
    border-radius: 8px;
  }

  button {
    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
    padding: 12px 12px;
    margin: 8px 0;
    border: none;
    border-radius: 8px;
    background-color:#F6C02A;
  }
  

  .contact-message {
        max-width: 500px;
        height: 64px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
  }
  
  

  /* Responsivness */
  @media screen and (max-width: 768px) {
  
  .image-container {
    float: right; /* Float the image to the right */
    margin-top: 0px; /* Adjust margin for better spacing */
     margin-right: 0px; /* Adjust margin for better spacing */
}

.grey-container-hero {
    display: flex;
    justify-content: space-between;
    border-radius: 24px;
    background-color: #F5F5F7;
    margin-top: 20px;
    width: 100%;
    min-height: 326px;
    max-height: 326px;
    overflow-y: auto;
    scrollbar-width: none;
}



.pic {
    display: flex;
    z-index: 1;
    padding-left: 25vw;
    justify-content: center; /* Horizontally center items */
    align-items: center; /* Vertically center items */
        max-height: 326px;
}



.gif {
    position: absolute;
        max-height: 326px;
}

.gif img {
    max-width: 100%;
    max-height: 326px;
    border-radius: 24px;
}



 .grey-container2 {
    display: flex;
    flex-wrap: wrap;
    max-height: 2000px;
    justify-content: center; /* Horizontally center items */
    align-items: center; /* Vertically center items */
    border-radius: 24px;
    background-color: #F5F5F7;
    margin-top: 40px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow: hidden;
}

.footer-content {
    flex-direction: column;
    text-align: center;
}

  .footer-logo {
    display: flex; /* This will create a flex container */
    flex-direction: row; /* This will align children in a row */
    align-items: center; /* This will vertically center the items */
    justify-content: flex-start; /* This will align items to the start of the container */
    padding-right: 0px;
  }

  .footer-logo img {
    width: 60px; /* Adjust as needed */
    margin-right: 0px;
  }
  
  
.footer-logo, .footer-contact, .footer-misc, .footer-social {
    display: flex;
    flex-direction: column;
    padding-right: 0px;
    margin-bottom: 20px;
}

    header {
      padding-left: 16px;
      padding-right: 16px;
      position: relative; /* Ensure the header is positioned relatively */
    }
  
    .hero {
      position: relative; /* Set position relative for the container */
      display: flex;
      flex-direction: column;
      color: rgb(0, 0, 0);
      text-align: center; /* Center align content horizontally */
      justify-content: center;
      align-items: center;
      margin-top: 0px;
      margin-bottom: 32px;
      padding: 32px 0;
    }

    .hero-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 80%; /* Set maximum width */
      width: 100%; /* Occupy full width of the container */
    }
    
    .hero-title {
      font-family: 'Inter', sans-serif;
      font-size: 32px;
      margin-bottom: 20px;
      line-height: 16px;
      width: 100%;
      min-width: 360px;
      white-space: nowrap;
    }
  
    .hero-text {
      color: #000000;
      padding-top: 0px;
      line-height: 26px;
      min-width: 360px;
      text-align: center;
    }

    .about-section-text
    {
      text-align: justify;
      line-height: 26px;
      font-size: 14px;
    }

    .section-title {
      font-size: 28px;
      margin-bottom: 32px;
      color: rgb(0, 0, 0);
    }
    
    .we-work-with-container {
      flex-direction: column; /* Change direction to row to keep items on one row */
      align-items: center; /* Center items horizontally */
      padding: 0px;
    }
    
    .company {
      width: calc(100% - 20px); /* Adjust width for even smaller screens */
    }

    .package {
      width: calc(100% - 20px); /* Adjust width for smaller screens */
    }

    .button-regular {
      margin-bottom: 50px;
  }

 .tabs {
        flex-direction: row; /* Revert to horizontal layout */
    }
    .tab {
        margin-right: 16px; /* Add spacing between tabs */
    }
}

.promo-video h2 {
    font-size: 28px;
}

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    height: 100%;
  }

.launching {
    line-height:50px;
}

.form-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 20%;
    height: 100%;
    border: none;
    
}

}