* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: url('images/takistan.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: white;
  animation: fadeScaleIn 1.5s ease-in-out;
  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: -1;
}

@keyframes fadeScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.splash-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center vertically */
  height: 100vh;            /* Fill full screen */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 40px; /* space between logo and panels */
}

.logo {
  width: 240px;
  max-width: 90vw;
  animation: autoPulseGlow 2.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

@keyframes autoPulseGlow {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px #ffffffaa);
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px #ffffffcc);
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px #ffffffaa);
  }
}

.panels {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto; /* Center the row */
}




.panel {
  width: 300px;
  height: 300px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 16px;
  transition: transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.panel:hover {
  transform: rotate(-5deg);
}

.panel i {
  font-size: 120px;
  margin-bottom: 20px;
  color: #ffffff;
}

.panel span {
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
}

.footer {
  width: 100%;
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer-content {
  color: #ccc;
  font-size: 0.9em;
}

.footer-content p {
  margin: 5px 0;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #ccc;
  margin: 0 10px;
  font-size: 1.4em;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
}