/* Base styling */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(-45deg, #2b1055, #7597de, #4e4376, #2b1055);
  color: white;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 2rem;
  overflow-x: hidden;
  background-size: 400% 400%;
  animation: gradientBackground 15s ease infinite;
}
@keyframes gradientBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Container Flex Layout */
.container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
}

/* Section Styling */
section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
}


h1, h2 {
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  position: relative;
  padding-bottom: 0.3rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}


p, li {
  font-size: 1.1rem;
  line-height: 1.6;
}

ul {
  list-style: none;
  padding: 0;
}

ul li::before {
  content: "🌟 ";
  margin-right: 0.5rem;
}

/* Responsive Links/Icons */
.connect img {
  height: 30px;
  margin: 0 10px;
  transition: transform 0.2s ease;
}

.connect img:hover {
  transform: scale(1.2);
}

section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}


#topBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  background-color: #7597de;
  color: white;
  border: none;
  padding: 0.7rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px #2b1055;
  display: none;
}

#topBtn span{
  text-decoration: none;
  display: inline-block;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
}

.home-btn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  background-color: #7597de;
  color: white;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 0 10px #2b1055;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.home-btn:hover {
  background-color: #4e4376;
  transform: scale(1.05);
}
/* Responsive Design */
@media (min-width: 768px) {
    .home-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
  }
/* Responsive scaling for large displays */
@media (min-width: 2560px) {
  body {
    font-size: 1.3rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .container {
    padding: 3rem 6rem;
  }

  .connect img {
    height: 40px;
  }
}
