/* ---------- GLOBAL ---------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #283c86, #45a247);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}
/* ---------- NAVBAR ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  z-index: 1000;
}

nav h1 {
  color: #00c6ff;
  font-size: 22px;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #00c6ff;
}

/* Adjust body layout for navbar height */
body {
  background: linear-gradient(135deg, #000428, #004e92);
  min-height: 100vh;
  margin-top: 80px; /* So navbar doesn’t overlap content */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- CONTACT CONTAINER ---------- */
.contact-container {
  background: #fff;
  border-radius: 12px;
  width: 950px;
  max-width: 100%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  padding: 40px;
  animation: fadeIn 1s ease;
}

/* ---------- HEADER ---------- */
.contact-box h2 {
  color: #283c86;
  text-align: center;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #444;
  font-size: 15px;
  margin-bottom: 30px;
}

/* ---------- CONTENT ---------- */
.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  color: #45a247;
  margin-bottom: 15px;
}

.contact-info p {
  color: #333;
  margin-bottom: 10px;
  font-size: 15px;
}

.social-links {
  margin-top: 20px;
}

.social-links a img {
  width: 30px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.social-links a img:hover {
  transform: scale(1.1);
}

/* ---------- FORM ---------- */
.contact-form {
  flex: 1;
  background: #f9f9f9;
  padding: 20px 25px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #283c86;
}

input, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
}

input:focus, textarea:focus {
  border-color: #45a247;
  box-shadow: 0 0 6px rgba(69,162,71,0.3);
}

.send-btn {
  background: linear-gradient(90deg, #45a247, #283c86);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.send-btn:hover {
  transform: scale(1.05);
}

/* ---------- ANIMATION ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }

  .contact-form, .contact-info {
    width: 100%;
  }

  .contact-container {
    padding: 25px;
  }
}
