body {
  margin: 0;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif,
    sans-serif;
  background-color: rgb(12, 12, 12);
}

body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.fade-in {
  opacity: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #202020;
  padding: 15px 35px;
  position: sticky;
  top: 0;
  transform: scale(1);
  z-index: 1000;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #00f; /* blue logo with glow */
  text-shadow: 0 0 5px #00f;
  cursor: pointer;
  letter-spacing: 1px;
}

.logo:hover {
  text-shadow: 0 0 10px #00f, 0 0 15px #00f;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-item a {
  color: white;
  text-decoration: none;
  font-size: 17px;
  position: relative;
  transition: color 0.3s;
}

/* Hover underline animation */
.nav-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 3px;
  background-color: #00f;
  transition: width 0.3s;
}

.nav-item a:hover::after {
  width: 100%;
}

/* Active tab */
.nav-item.active a {
  color: #00f;
  text-shadow: 0 0 10px #00f;
}

.nav-item.active a::after {
  width: 100%;
}

.content {
  padding: 50px 30px;
}

/* ________________________________________________________________________________________ */

.hero-what-r-boxes {
  background: linear-gradient(135deg, #141414, #0f0f0f);
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 404px;
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 0px;
}

/* Container for 3 boxes */
.hero-box-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Individual box */
/* Floating animation for boxes */
.hero-box {
  background-color: #1a1a1a;
  border-radius: 20px;
  padding: 10px 25px;
  flex: 1 1 300px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 1000px;
  height: 400px;

  /* Floating animation */
  animation: boxFloat 6s ease-in-out infinite;
}

/* Define the floating keyframes */
@keyframes boxFloat {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(5px);
  }
  75% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Optional: Slight stagger for each box for nicer effect */
.hero-box-container .hero-box:nth-child(1) {
  animation-delay: 0s;
}
.hero-box-container .hero-box:nth-child(2) {
  animation-delay: 1s;
}
.hero-box-container .hero-box:nth-child(3) {
  animation-delay: 2s;
}

.hero-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(0, 195, 255, 0.6);
}

/* Box title */
.box-title {
  font-size: 25px;
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00e1ff, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

/* Glow line under title */
.glow-line {
  height: 2px;
  border-radius: 5px;
  background: linear-gradient(90deg, #00ffff, #007bff);
  box-shadow: 0 0 15px #00e1ff;
  width: 80%;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Paragraphs */
.hero-box p {
  font-size: 17px;
  line-height: 1.6;
  color: #ddd;
  position: relative;
}

/* Floating words for first box */
.fly-word {
  display: inline-block;
  font-weight: bold;
  color: #00ffff;
  position: relative;
  animation: flyMotion 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.8s);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

@keyframes flyMotion {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(5px, -10px) rotate(3deg);
  }
  50% {
    transform: translate(-10px, 10px) rotate(-3deg);
  }
  75% {
    transform: translate(10px, 5px) rotate(2deg);
  }
}

/* Link styling */
.r-link {
  color: #f06129;
  font-weight: bold;
  text-decoration: none;
  position: relative;
}

.r-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #f06129;
  transition: width 0.3s;
}

.r-link:hover::after {
  width: 100%;
}

/* Shimmer animation for titles */
@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Animated changing words */
.changing-word {
  font-weight: bold;
  color: #00e1ff;
  position: relative;
  display: inline-block;
  animation: fadeInOut 3s infinite;
}

/* Fade + float animation */
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  10%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* ===== Frozen Footer ===== */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  text-align: center;
  padding: -15px 0;
  background-color: #101010;
  color: #ccefff;
  font-size: 14px;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 -2px 10px rgba(0, 255, 255, 0.1);
  animation: footerGlow 3s ease-in-out infinite;
}

/* glowing animation */
@keyframes footerGlow {
  0%,
  100% {
    text-shadow: 0 0 5px #00ffff;
  }
  50% {
    text-shadow: 0 0 15px #00ffff;
  }
}

/* Make sure content does not overlap footer */
body,
.main-content {
  padding-bottom: 60px; /* height of footer */
}

/* ===== Screen Size Warning (Mobile & Tablet Only) ===== */
/* ===== MOBILE / TABLET FULL SCREEN WARNING ===== */
.screen-warning-only {
  display: none;
}

/* Mobile & Tablet */
@media (max-width: 1024px) {
  /* Hide everything */
  body > * {
    display: none !important;
  }

  /* Show only the warning */
  .screen-warning-only {
    display: flex !important;
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #0a0a0a, #000);
    justify-content: center;
    align-items: center;
    z-index: 10000;
  }

  .warning-box {
    text-align: center;
    padding: 40px 35px;
    border-radius: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6), 0 0 60px rgba(0, 225, 255, 0.3);
    animation: pulseWarning 2.5s infinite ease-in-out;
  }

  .warning-box span {
    color: #00e1ff;
    text-shadow: 0 0 15px #00ffff;
  }
}

/* Glow Pulse */
@keyframes pulseWarning {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 45px rgba(0, 255, 255, 0.8);
  }
}
