@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top right, #001f3f, #000814);
  color: #fff;
  overflow-x: hidden;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: #00d4ff;
  border-bottom: 2px solid #00d4ff;
}

.logo {
  display: flex;
  margin-right: 3vw;
}

.auth-buttons a {
  margin-left: 20px;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.auth-buttons .login {
  color: #fff;
}

.auth-buttons .signup {
  background: #00d4ff;
  color: #000;
}

.auth-buttons .signup:hover {
  background: #00aee0;
}

/* ===== Contact Section ===== */
.contact-section {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 60px;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  max-width: 450px;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.contact-info h1 {
  font-size: 2.8em;
  color: #00d4ff;
  margin-bottom: 20px;
}

.contact-info p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
  padding: 0;
}

.contact-details li {
  margin: 12px 0;
  font-size: 0.95em;
  color: #ddd;
}

.contact-details i {
  color: #00d4ff;
  margin-right: 10px;
}

/* ===== Contact Form ===== */
.contact-form {
  flex: 1;
  min-width: 320px;
  max-width: 500px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-size: 0.9em;
  color: #ccc;
}

input, textarea {
  background: transparent;
  border: 2px solid #555;
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
  border-color: #00d4ff;
  box-shadow: 0 0 10px #00d4ff44;
}

button {
  background: #00d4ff;
  color: #000;
  font-weight: 600;
  border: none;
  padding: 12px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #00aee0;
  box-shadow: 0 0 20px #00d4ff66;
}

/* ===== Animations ===== */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeLeft 1.2s ease forwards;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeRight 1.2s ease forwards;
}

.center-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.center-message h2 {
  color: green;
  margin-bottom: 5px;
}

.center-message h4 {
  color: #94c6d6;
  font-weight: normal;
}

.center-message samp {
  color: red;
  font-size: 1.1rem;
}



@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .navbar {
    padding: 20px 30px;
    flex-direction: column;
  }

  .contact-section {
    flex-direction: column;
    align-items: center;
  }

  .contact-info, .contact-form {
    width: 100%;
    max-width: 600px;
  }
}
