* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  background: url('bgcontact.png') no-repeat center center fixed;
  background-size: cover; /* ✅ fills full screen */
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

a {
  text-decoration: none;
  color: inherit;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;                
  z-index: 1000;             
  background: linear-gradient(to right, #004aad, #00c3ff);
  padding: 10px 15px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  transition: background 0.5s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

 
.nav-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  white-space: nowrap; /* 👈 Prevent breaking into multiple lines */
  overflow-x: auto;
}

.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 5px;
  transition: color 0.3s ease;
  flex-shrink: 0;
  color: white;
  font-weight: lighter;
}

.nav-links a.current {
  font-weight: 900;
}

.nav-links a:hover{
 color: #010216;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #000; 
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.container {
  display: flex;
  width: 90%;
  max-width: 120000px;
  margin-top: 70px;
  height: 90%;
  border-radius: 20px;
  overflow: hidden;
}

.left, .right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  margin-left: 150px;
  padding: 40px;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  color: white;
}

.form-card h1 {
  margin-top: 0;
  font-size: 28px;
  font-weight: 700;
}

.form-card p {
  margin-bottom: 25px;
  font-size: 14px;
  color: #e0e0e0;
}

.form-card label {
  font-weight: 600;
  display: block;
  margin-top: 15px;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  background: transparent; /* ✅ transparent background */
  border: none;
  border-bottom: 1.5px solid #ccc; /* underline only */
  color: white;
  font-size: 14px;
  outline: none;
  border-radius: 0;
  box-shadow: none; /* ✅ removes unwanted browser outline */
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
  background: transparent !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 9999s ease-in-out 0s;
}

.form-card input::placeholder,
.form-card textarea::placeholder {
  color: #ccc;
}

.form-card textarea {
  resize: none;
}

.form-card select option {
  background-color: white;  /* bluish to match theme */
  color: black;
}

.form-card button {
  margin-top: 30px;
  width: 100%;
  padding: 12px;
  background: white;
  color: #007bff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-card button:hover {
  background: #f0f0f0;
}

.map-section {
  padding: 60px 20px;
  text-align: center;
  color: white;
  background-color: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
}

.map-bg iframe {
  width: 90%;
  max-width: 1000px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  margin-top: 20px;
}

.footer {
  background: rgba(0,0,0,0.5);
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.footer-links {
  margin: 10px 0;
}

.footer-links a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}

/* Map Section */
.map-section {
  padding: 60px 20px;
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.map-bg iframe {
  width: 90%;
  max-width: 1000px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.footer-links {
  margin: 10px 0;
}

.footer-links a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}
