/* Footer styles */
:root {
  --footer-bg: linear-gradient(to bottom, #0a0a1a, #1a1a3a);
  --text-primary: #ffffff;
  --text-secondary: #8891B0;
  --accent-color: #F5793B;
  --box-bg: rgba(20, 30, 50, 0.7);
  --transition: 0.3s ease;
}

footer {
  background: transparent;
  color: var(--text-primary) !important;
  font-family: "IBM Plex Sans", sans-serif;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  margin: 50px auto 0;
  border-radius: 2rem 2rem 0 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

footer.loaded {
  visibility: visible;
  opacity: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

/* Footer sections */
.footer-section {
  background: var(--box-bg);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 
  gap: 1rem;
  height: 220px;
  transition: transform var(--transition);
}

.footer-section:hover {
  transform: translateY(-5px);
}

/* Logo section */
.footer-section:first-child {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.footer-section:nth-child(2) {
  z-index: 9999;
}
.footer-section:nth-child(3) {
  z-index: 9999;
}
.footer-section:nth-child(4) {
  z-index: 9999;
}


.footer-section:first-child:hover {
  transform: none;
}

.logo-top {
  width: 400px;
  height: auto;
  margin-bottom: 0;
  z-index: 2;
  position: relative;
}

.svgPaths {
  width: 1200px !important;
  font-size: 120px !important;
}

.footer-svg {
 
  position: absolute;
  top: 60%;
 

  z-index: 1;
  width: 900px;
}



/* Navigation */
.footer-header {
  color: var(--text-primary) !important;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  color: var(--text-primary) !important;
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition);
  padding: 5px;
  border-radius: 4px;
  color: #186aff;
}

.footer-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
  background: rgba(234, 135, 7, 0.05);
}

/* Social links */
.social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  z-index: 10000;
}

.social-link {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  cursor: pointer;
}

.social-link:hover {
  background-color: rgba(245, 121, 59, 0.3);
  transform: translateY(-2px);
}

.social-link img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

/* Contact info */
.contact-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.location, .phone {
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}



/* Copyright */
.copyright {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-secondary);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

/* Animation elements */
.spaceship-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
  opacity: 0.8;
}


.spaceship {
  position: absolute;
  width: 80px;
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  transform: translateZ(0);
  will-change: transform;
}

.particles {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 100%;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(245, 121, 59, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: particle 1s ease-out forwards;
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* Animations */
@keyframes particle {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(-50px) scale(0); opacity: 0; }
}


/* Responsive design */
@media (max-width: 1400px) {
  .footer-svg {
    width: 900px;
    left: 100px;
  }
}

@media (max-width: 1200px) {
  .footer-svg {
    width: 700px;
    left: 80px;
  }
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-section {
    height: 200px;
  }
}

@media (max-width: 768px) {
  footer {
    margin: 50px auto 0;
    padding: 2rem 1.5rem;
    border-radius: 2rem 2rem 0 0;
    background: transparent;
    color: #ffffff;
  }
  
  .bg {
    background: #0D1117;
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-section {
    height: auto;
    min-height: auto;
    padding: 1.5rem;
    background: #161B22;
    color: #ffffff;
    border-radius: 20px;
    text-align: center;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .footer-section:first-child {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .logo-top {
    width: 500px;
    margin-bottom: 1.5rem;
  }
  
  .footer-svg {
    display: none;
  }

  .footer-header {
    color: #ffffff;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer-links {
    gap: 0.8rem;
    align-items: center;
  }

  .footer-link {
    color: #bdc3c7;
    font-size: 1rem;
    text-align: center;
  }

  .social {
    margin-top: 0;
    justify-content: center;
  }

  .social-link {
    background-color: #21262d;
  }

  .social-link img {
    filter: invert(1);
  }
}

@media (max-width: 480px) {
  footer {
    padding: 1.5rem 1rem;
  }

  .footer-content {
    gap: 1rem;
  }

  .footer-section {
    padding: 1.5rem;
  }
  
  .logo-top {
    width: 350px;
  }

  .footer-header {
    font-size: 1.3rem;
  }

  .footer-link {
    font-size: 0.9rem;
  }
}

/* Fix for contact box in footer */
.footer-section .contact-info {
  border-bottom: none !important;
}

/* Additional fixes for footer contact box */
#footer .footer-section:nth-child(4) {
  border: none !important;
  box-shadow: none !important;
}

#footer .contact-info {
  border: none !important;
}
.bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #221F2E;
	z-index: -1;
}

.dotWrapper {
	position: absolute;
}

.dot {
	width: 4px;
	height: 4px;
	background: #FEA039;
	border-radius: 50%;
}

@keyframes rotating {
	0% {
		opacity: 0;
		transform: rotate(0deg);
	}
	25%, 75% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 0;
		transform: rotate(360deg);
	}
}

@keyframes flying {
	0% {
		transform: translate(0, 0);
	}
	10% {
		transform: translate(20px, 50px);
	}
	20% {
		transform: translate(-30px, 10px);
	}
	30% {
		transform: translate(10px, 60px);
	}
	40% {
		transform: translate(50px, 00px);
	}
	50% {
		transform: translate(-10px, -40px);
	}
	60% {
		transform: translate(-40px, 20px);
	}
	70% {
		transform: translate(30px, -30px);
	}
	80% {
		transform: translate(0px, -60px);
	}
	90% {
		transform: translate(40px, 10px);
	}
	100% {
		transform: translate(0, 0);
	}
}