.error-message {
  color: #ff4d4d;
  font-size: 0.9em;
  margin-top: 4px;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
  animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
  from { opacity: 1; }
  to   { opacity: 0.7; }
}


body {
    background: #0a0a0f;
    color: #e4e4e7;
    font-family: "Poppins", sans-serif;
    margin: 0;
  }
  
/* ===== Navbar ===== */
header {
    background: rgba(17, 25, 40, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 3px 20px rgba(0, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  nav {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }
  
  nav .logo {
    font-size: 1.6em;
    font-weight: bold;
    background: linear-gradient(90deg, #00f2fe, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 3s infinite alternate;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  nav ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #e2e8f0;
    transition: 0.3s;
    position: relative;
  }
  
  nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #00f2fe;
    transition: width 0.3s;
  }
  
  nav ul li a:hover::after,
  nav ul li a.active::after {
    width: 100%;
  }
  /* Contact Section */
  .contact {
    padding: 80px 20px;
    text-align: center;
  }
  
  .contact-container {
    max-width: 1200px;
    margin: auto;
  }
  

  .contact h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s infinite alternate;
  }
  
  @keyframes glow {
    from { text-shadow: 0 0 8px #00f2fe, 0 0 12px #4facfe; }
    to { text-shadow: 0 0 18px #00f2fe, 0 0 30px #4facfe; }
  }
  
  .contact p {
    color: #aaa;
    margin-bottom: 50px;
    font-size: 1.1em;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
  }
  
  /* Form Styling */
  .contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.15);
    animation: slideIn 1s ease;
  }
  
  @keyframes slideIn {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1em;
    transition: 0.3s;
  }
  
  input:focus, textarea:focus {
    border: 1px solid #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
  }
  
  textarea {
    min-height: 120px;
    resize: none;
  }
  
  /* Button */
  .btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    color: #fff;
    border-radius: 8px;
    font-size: 1em;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.6);
  }
  
  /* Contact Info */
  .contact-info {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.15);
  }
  
  .contact-info h3 {
    color: #00f2fe;
    margin-bottom: 15px;
  }
  
  .contact-info p {
    margin: 8px 0;
  }
  
  .socials {
    margin-top: 20px;
  }
  
  .socials a {
    color: #00f2fe;
    margin-right: 15px;
    font-size: 1.5em;
    transition: 0.3s;
  }
  
  .socials a:hover {
    color: #4facfe;
    text-shadow: 0 0 10px #00f2fe;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(0, 255, 255, 0.15);
    color: #777;
  }
  