* {
  box-sizing: border-box;
}
html {
  overflow-x: scroll;
  margin:0 auto;
    font-display: swap;
}
body {
  display: block;
  position: relative;
  width: 100%;
  margin: 0 auto;
    max-width: 2100px;
  /* Parallax background image with dark overlay */
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.95)),
    url('/spacebg1.jpg') no-repeat center center fixed;
  background-size: cover;

  color: #fff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;

}


#mainSiteContainer {
  max-width: 2100px;
  position: relative;
  margin: 0 auto;
}
#animatedBanner {
  position: relative;
  width: auto;
  background: #000;
  width: 90%;
  margin-left:5%;
  padding: 0;
  height: 60%;
  overflow: hidden;
  z-index: 1;
  opacity:.8;
box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
margin-top:50px;border-radius:150px;
}



#animatedBanner #actualVideo {
  width: 2100px;
  height: auto;
  display: block;
  margin: 0 auto;
  position: absolute;
  top: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: fadeInBasic ease 4s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  bottom: 0;
  z-index: 1;
}

#animatedBanner .left-fade {
  position: absolute;
  left: 0;
  width: 30%;
  height: 100%;
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, .2), #000);
  z-index: 2
}

#animatedBanner .right-fade {
  position: absolute;
  right: 0;
  width: 30%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .2), #000);
  z-index: 2
}

#animatedBanner .bottom-fade {
  position: absolute;
  bottom: 0;
  display: block;
  height: 40%;
  width: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .9));
  z-index: 2;
}

#animatedBanner #objectFlyIn {
  position: absolute;
  left: calc(50% - 242px);
  z-index: 1;
  opacity: 0;
  animation: growInBasic 11s ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-delay: 1s;
}

#companyInfo {
  width: 100%;
  text-align: center;
  position: relative;
  margin-top: -420px;
  z-index: 999;
}

#companyInfo h1 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 80px;
  animation: glow 11s;
  animation-iteration-count: infinite;
  color: #fff;
  margin-top: 0;
}

#companyInfo h2 {
  font-size: 40px;
}

#companyInfo h2 span {
  display: inline-block;
  color: #fff;
  font-size: 80px;
  animation: glow 11s;
  animation-iteration-count: infinite;
  line-height: 40px;
  height: 40px;
  vertical-align: middle;
  padding-left: 5px;
  padding-right: 5px;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  border-radius: 8px;
  padding: 20px;
  background: #010101;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #010101, #111111);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #010101, #111111); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  box-shadow: 0 4px 6px rgba(50, 50, 50, 0.5);
  border: 5px solid transparent;
  border-image: linear-gradient(to bottom, #284cad, #6a0dad, #284cad) 1;
  margin: 30px auto;
}

.container.web2 {
  border-image: linear-gradient(
     to bottom,
     rgba(255, 140, 0, 0.7),  /* Soft orange */
     rgba(255, 165, 0, 0.7),  /* Vibrant orange */
     rgba(255, 140, 0, 0.7)   /* Soft orange */
   ) 1;
}

.container.web3 {
  border-image: linear-gradient(to bottom, rgba(34, 139, 34, 0.6), rgba(0, 128, 128, .6), rgba(0, 128, 128, 1)) 1;
}

.container .mainSubHeading {
  text-align: center!important;
  font-weight: bold;
  font-size: 30px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.column {
  flex: 1 1 calc(50% - 20px);
  min-width: 250px;
}
/* Animations */

@keyframes flyInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes flyInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.column.animate-left {
  animation: flyInLeft 1.5s forwards;
}

.column.animate-right {
  animation: flyInRight 1.5s forwards;
}

@keyframes growInBasic {
  from {
    transform: scale(0);
    top: 42%;
  }
  to {
    transform: scale(1);
    opacity: 1;
    top: 23%;
  }
}

@keyframes fadeInBasic {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}

@keyframes fadeOutBasic {
  0% {
    opacity: 1
  }
  100% {
    opacity: 0
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #3AC7F1
  }
  to {
    text-shadow: 0 0 15px #124394, 0 0 5px #3AC7F1;
    opacity: 1
  }
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
/* About Section */

.footer-about h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: rgba(0, 128, 128, 1);
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.5;
}
/* Links Section */

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: rgba(0, 128, 128, 1);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #f0f0f0;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #a62bca;
}
/* Contact Section */

.footer-contact a {
  text-decoration: none;
  color: #f0f0f0;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #a62bca;
}
/* Bottom Section */

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  padding-top: 10px;
  color: #aaa;
}
/* Footer Container */

.site-footer {
  /* Parallax background image */
  background: #000;
  background-size: cover;
  border-radius: 5px;
  color: #f0f0f0;
  padding: 40px 20px;
  border-top: 3px solid #222;
  font-family: Arial, sans-serif;
  width: 95%;
  border-right: 0;
  border-left: 0;
  display: block;
  margin: 0 auto;
    margin-top: 90px;
  padding-bottom:60px;
  margin-top:100px;
  border-radius:75px;
  margin-bottom:9000px;
  opacity:.95;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}
/* About Section */

.footer-about h2 {
  font-size: 1.9rem;
  margin-bottom: 10px;
  color: rgba(0, 128, 128, 1);
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.5;
}
/* Links Section */

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: rgba(0, 128, 128, 1);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #f0f0f0;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {

}
/* Contact Section */

.footer-contact a {
  text-decoration: none;
  color: #f0f0f0;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #a62bca;
}
/* Bottom Section */

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  padding-top: 10px;
  color: #aaa;
}

.login-button {
  background: linear-gradient(135deg, #1d4973, #33246c, #20448d);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 3px;
  padding: 12px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: absolute;
  overflow: hidden;
  top: 30px;
  right: 20px;
  z-index: 99;
  display:none;
}

.login-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.login-button:hover {
  background: linear-gradient(135deg, #0077ff, #a62bca);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  color: #000;
}

.login-button:hover::before {
  left: 100%;
}

.login-button:active {
  transform: scale(0.95);
}

.taglinetext {
  font-size: 40px;
  position: relative;
  z-index: 99;
  width: 100%;
  text-align: center;
}





.service-container {
margin: 60px 0;
text-align: center;
}

.service-preview {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin: 20px 0;
}

.preview-item {
background: rgba(255, 255, 255, 0.05);
padding: 15px 25px;
border-radius: 12px;
font-weight: bold;
}

.toggle-button {
display:block;
margin: 20px auto;
padding: 12px 28px;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
letter-spacing: 0.5px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.purple {
  background: linear-gradient(to bottom, #1d4973, #33246c, #20448d);
}
.orange {
  background: linear-gradient(to bottom, #fe7d29, #e2b052, #e29a52);
}

.green {
  background: linear-gradient(to bottom, #0b9444, #4bb382, #188e77);
}


.toggle-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}


.service-full {
max-height: 0;
overflow: hidden;
transition: max-height 0.6s ease, opacity 0.6s ease;
opacity: 0;
margin-top: 20px;
}

.service-full.active {
max-height: 2000px; /* Arbitrary large height to allow expansion */
opacity: 1;
}

.service-full .column {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-full.active .column {
opacity: 1;
transform: translateY(0);
}











@media(max-width:1000px) {
  #companyInfo h1 {
    font-size: 50px;
  }
  #companyInfo h2 {
    font-size: 30px;
  }
  #companyInfo h2 span {
    font-size: 50px;
    line-height: 30px;
    height: 30px;
  }
  #animatedBanner #actualVideo {
    width: 1400px;
  }
  .login-button {
    right:10px;
  }
  #objectFlyIn {
    margin-top: -100px!important;
  }
  #companyInfo {
    margin-top: -540px;
  }
  .taglinetext {
    margin-top:-60px;
  }
}

@media(max-width:600px) {
  #animatedBanner #objectFlyIn {
    max-width: 85%;
    width: 85%;
    left: 7.5%;
  }
  #animatedBanner #actualVideo {
    width: 1200px;
  }
  #companyInfo h1 {
    font-size: 40px;
  }
  #companyInfo h2 {
    font-size: 22px;
  }
  #companyInfo h2 span {
    font-size: 40px;
    line-height: 22px;
    height: 22px;
  }
  #objectFlyIn {
    margin-top: -100px;
  }
  .container {
    margin-top: 0;
  }
  .taglinetext {
    font-size: 30px;
  }
  #animatedBanner .left-fade {
    width: 30%;
    margin-left: -10%;
    height: 300%;
  }
  #animatedBanner .right-fade {
    width: 30%;
    margin-right: -10%;
    height: 300%;
  }
  #animatedBanner .bottom-fade {
    display: none;
  }
  #animatedBanner {
    overflow: visible;
  }
  #mainSiteContainer {
    padding:0;
  }
  .container {width:94%;margin-left:3%;}
  .taglinetext {font-size:20px;font-size:bold;}
}


  /* Android-specific styles */
  .android .container {width:94%;margin-top:25px;}
  .android #objectFlyIn {margin-top:10px;}
  .android .taglinetext {font-size:20px;}






  #lightbox-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      z-index: 1000;
      justify-content: center;
      align-items: center;
  }

  #lightbox {
      position:relative;
      background: #222;
      color: white;
      width: 90%;
      max-width: 400px;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
      text-align: center;
  }

  #lightbox input {
      width: 100%;
      padding: 10px;
      margin: 10px 0;
      background-color: #000;
      color: white;
      border: 1px solid #444;
      border-radius: 5px;
      box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
      font-family: inherit;
      font-size:17px;
  }

  #lightbox input::placeholder {
      color: #aaa;
  }


  #close-lightbox {
      position:absolute;
      top:10px;
      right:10px;
      background-color:#000;
      color: #aaa;
      border: 1px solid #888;
      border-radius: 5px;
      padding: 3px 6px;
      cursor: pointer;
      font-family: inherit;
      text-transform: uppercase;
      transition:all .5s ease;
  }

    #close-lightbox:hover {
      background:#780000;
      color:#fff;
    }

  #lightbox .login-button-lightbox:disabled {
      opacity: 0.7;
      cursor: not-allowed;
  }

  .login-button-lightbox {
    background: linear-gradient(135deg, #a62bca, #0077ff);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 3px;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 99;
  }

  #moon_landing {
      position: relative;
      height: 1000px;
      display:none;
  }

  #moon_landing #grunge_star1 {
      position: absolute;
      top: 12%;
      left: 25%;
      height: 250px;
      width: auto;
      transform: rotate(-10deg);
      cursor: pointer;
      border-radius:50px;
      opacity:.5;
  }

  #moon_landing #grunge_star2 {
      position: absolute;
      top: 40%;
      left: 60%;
      height: 250px;
      width: auto;
      transform: rotate(8deg);
      cursor: pointer;
  }

  #moon_landing #grunge_star3 {
      position: absolute;
      top: 70%;
      left: 33%;
      height: 250px;
      width: auto;
      transform: rotate(-5deg);
      cursor: pointer;
  }

  #project_popup {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 10;
      pointer-events: none; /* Prevent from blocking hover */
  }

  #project_popup .popup-content {
      display: none;
      background: rgba(0,0,0,0.8);
      color: white;
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      max-width: 400px;
      font-size:40px;
      font-weight:bold;
  }





  #contactFloatingBtn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background: linear-gradient(135deg, #1d4973, #6a0dad, #20448d);
      color: #fff;
      padding: 16px 32px;
      border: none;
      border-radius: 10px;
      font-size: 20px;
      font-family: 'Source Sans Pro', sans-serif;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
      z-index: 1000;
      transition: all 0.3s ease;
  }

  #contactFloatingBtn:hover {
      background: linear-gradient(135deg, #a62bca, #0077ff);
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }






  #contactModalOverlay {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.6);
      z-index: 999;
      justify-content: center;
      align-items: center;
  }
  #contactModal {
      background: #000;
      color: #fff;
      padding: 30px;
      border-radius: 12px;
      max-width: 500px;
      width: 90%;
      font-family: 'Source Sans Pro', sans-serif;
      box-shadow: 0 0 25px rgba(0,0,0,0.8);
  }

  #contactModal h2 {
      margin-top: 0;
      color: #a62bca;
  }

  #contactModal form input,
  #contactModal form textarea {
      width: 100%;
      padding: 12px;
      margin: 12px 0;
      background: #222;
      color: #fff;
      border: 1px solid #555;
      border-radius: 6px;
      box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
  }

  #contactModal form button {
      background: linear-gradient(135deg, #1d4973, #6a0dad, #20448d);
      color: #fff;
      padding: 12px 30px;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      font-size: 18px;
            margin:20px auto;
      margin-top:30px;
      transition: all 0.3s ease;
      display:block;

  }

  #contactModal form button:hover {
      background: linear-gradient(135deg, #a62bca, #0077ff);
      transform: translateY(-2px);
  }

  #closeContactModal {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      cursor: pointer;
      color: #aaa;
  }

  #closeContactModal:hover {
      color: #f00;
  }














@media(max-width:400px) {
  #objectFlyIn {
    margin-top: -100px;
  }
  #companyInfo {
    margin-top: -700px;
  }
  .container {
    margin-top: -50px;
    width: 100%;
  }
}

@supports (-webkit-backdrop-filter: none) {
  @media(max-width: 600px) {
    body {
      overflow: hidden;
      overflow-x: hidden;
    }
    #objectFlyIn {
      margin-top: 0!important;
    }
    #companyInfo {
      margin-top: -170px!important;
    }
      .container {width:94%;margin-left:3%;max-width:none;}
  }
}

@media (max-height: 1400px) and (orientation: landscape) {
  #objectFlyIn {
    margin-top: -0;
  }
  #companyInfo {
    margin-top: -200px;
  }
}

@media (max-height: 800px) and (orientation: landscape) {
  #objectFlyIn {
    margin-top: -70px;
  }
}


@media (max-height: 100px) and (orientation: landscape) {
  #objectFlyIn {
    margin-top: 100px;
  }
  #companyInfo {
    margin-top: 0;
  }
}

@media (max-height: 1400px) and (orientation: portrait) {
  #objectFlyIn {
    margin-top: -100px;
  }
  #companyInfo {
    margin-top: -100px;
  }
}
