/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* === BODY & BACKGROUND === */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  color: #fff;
  background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
  overflow-x: hidden;
  animation: bgmove 12s infinite alternate ease-in-out;
}

@keyframes bgmove {
  0% { background-position: 0% 50%; background-size: 200% 200%; }
  50% { background-position: 100% 50%; background-size: 220% 220%; }
  100% { background-position: 0% 50%; background-size: 200% 200%; }
}

/* === PARTICLE GRID EFFECT === */
body::before, body::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 10s linear infinite;
  z-index: 0;
}

body::after {
  animation-direction: reverse;
  opacity: 0.3;
}

@keyframes float {
  from { background-position: 0 0; }
  to { background-position: 50px 50px; }
}

/* === MENU BUTTON === */
.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  border: 2px solid #00ffff;
  color: #00ffff;
  font-size: 18px;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s;
}

.menu-toggle:hover {
  color: #fff;
  background: rgba(0,255,255,0.1);
  box-shadow: 0 0 15px #00ffff;
}

/* === SIDEBAR MENU === */
.menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
  box-shadow: 5px 0 25px rgba(0,255,255,0.3);
  border-right: 2px solid rgba(0,255,255,0.3);
  transition: left 0.4s ease;
  z-index: 99;
  padding-top: 80px;
}

.menu.open {
  left: 0;
}

.menu a {
  display: block;
  padding: 15px 20px;
  color: #00ffff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.menu a:hover {
  color: #fff;
  background: rgba(0,255,255,0.2);
  text-shadow: 0 0 10px #00ffff;
}

/* === MAIN CONTAINER === */
.container {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,255,255,0.3);
  box-shadow: 0 0 25px rgba(0,255,255,0.2);
  border-radius: 16px;
  padding: 40px;
  max-width: 900px;
  margin: 140px auto 100px auto;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
}

.container:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0,255,255,0.3);
}

/* === HEADINGS === */
h1 {
  font-size: 2.6em;
  text-shadow: 0 0 25px #00ffff;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

h2 {
  font-size: 1.6em;
  color: #00ffff;
  margin-bottom: 15px;
  text-shadow: 0 0 10px #00ffff;
  border-bottom: 1px solid rgba(0,255,255,0.3);
  display: inline-block;
  padding-bottom: 5px;
}

/* === PARAGRAPH & INFO STYLING === */
p {
  font-size: 1.1em;
  color: #e0f7ff;
  margin-bottom: 10px;
}

.info p {
  margin: 8px 0;
  color: #e0f7ff;
}

.info strong {
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff;
  font-weight: 600;
}

.info span {
  color: #fff;
  text-shadow: 0 0 8px rgba(0,255,255,0.3);
}

/* === GLOWING BUTTONS === */
.glow-btn {
  background: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
  font-size: 1.1em;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px #00ffff;
}

.glow-btn:hover {
  background: rgba(0,255,255,0.15);
  color: #fff;
  box-shadow: 0 0 25px #00ffff;
  transform: translateY(-2px);
}

.button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* === CONTACT FORM STYLING === */
#contact-form {
  max-width: 600px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact-form label {
  font-size: 1.1em;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(0,255,255,0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 1em;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #00ffff;
  box-shadow: 0 0 15px rgba(0,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

#contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

#contact-form button {
  background: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
  font-size: 1.1em;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px #00ffff;
  align-self: center;
}

#contact-form button:hover {
  background: rgba(0,255,255,0.15);
  color: #fff;
  box-shadow: 0 0 25px #00ffff;
  transform: translateY(-2px);
}

/* === FOOTER (Sticky Bottom) === */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9em;
  letter-spacing: 0.5px;
  padding: 15px 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(0,255,255,0.2);
  box-shadow: 0 -2px 15px rgba(0,255,255,0.15);
  z-index: 10;
  animation: footerPulse 6s infinite ease-in-out;
}

@keyframes footerPulse {
  0%, 100% { box-shadow: 0 -2px 15px rgba(0,255,255,0.15); }
  50% { box-shadow: 0 -4px 25px rgba(0,255,255,0.4); }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .container {
    margin: 100px 20px 100px 20px;
    padding: 25px;
  }

  h1 {
    font-size: 2.2em;
  }

  .menu {
    width: 200px;
  }

  .menu a {
    font-size: 0.95em;
  }

  .glow-btn {
    padding: 10px 20px;
    font-size: 1em;
  }
}
