body, html {
  overflow-x: hidden;
}
.site-footer {
  background: #47474719;
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  animation: fadeIn 1s ease-out;
  box-shadow: black 2px 2px 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1s ease-out;
  padding-bottom: 20px;
}

/* Brand Section */
.footer-brand {
  flex: 1 1 250px;
}

.footer-brand h2 {
  font-size: 1.75rem;
  color: #7c3aed;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 300px;
}

/* Links */
.footer-links {
  display: flex;
  flex: 2 1 500px;
  flex-wrap: wrap;
  gap: 40px;
}

.link-group {
  min-width: 140px;
}

.link-group h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #2dd4bf;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.3s forwards;
}

.link-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-group ul li {
  margin-bottom: 8px;
}

.link-group ul li a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.link-group ul li a:hover {
  color: #2dd4bf;
  transform: translateX(5px);
}

/* Socials */
.footer-social {
  flex: 1 1 250px;
}

.footer-social h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #2dd4bf;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.6s forwards;
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icons a {
  font-size: 1.4rem;
  color: #e2e8f0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #7c3aed;
  transform: translateY(-4px) rotate(-5deg);
}

/* Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(34, 34, 34, 0.625);
  opacity: 0;
  animation: fadeIn 1s ease-out 0.9s forwards;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}
/* Medium Devices: Tablets (≤ 768px) */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-bottom: 30px;
  }

  .footer-brand,
  .footer-social {
    flex: none;
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  .footer-links {
    flex: none;
    width: 100%;
    justify-content: center;
    gap: 30px;
  }

  .link-group {
    min-width: auto;
    text-align: center;
  }

  .link-group h3 {
    font-size: 1.2rem;
  }
}

/* Small Devices: Phones (≤ 480px) */
@media (max-width: 480px) {
  .site-footer {
    padding: 30px 15px 15px;
  }

  .footer-brand h2 {
    font-size: 1.5rem;
  }

  .footer-brand p {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .link-group {
    width: 100%;
  }

  .link-group h3 {
    font-size: 1rem;
  }

  .link-group ul li a {
    font-size: 0.9rem;
  }

  .footer-social {
    width: 100%;
    text-align: center;
  }

  .footer-social h3 {
    font-size: 1rem;
  }

  .social-icons {
    justify-content: center;
    gap: 12px;
  }

  .social-icons a {
    font-size: 1.2rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
    padding-top: 15px;
  }
}



/* Navigation */
nav {
    background: rgba(10, 10, 18, 0.425);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    margin-right: auto;
    color: #7d3aed;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.logo img{
    margin-top: 5px;
    height: 30px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2dd4bf;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #f8fafc;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 10, 18, 0.425);
    backdrop-filter: blur(10px);
    z-index: 1050;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-links a {
    color: #f8fafc;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s;
}

.mobile-menu-links a:hover {
    background: rgba(125, 58, 237, 0.2);
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: #f8fafc;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Responsive styles */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (min-width: 901px) {
    .mobile-menu {
        display: none;
    }
}
