:root {
  --primary: #38bdf8;
  --dark: #0f172a;
  --light-gray: #f1f5f9;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  position: relative;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

p {
  text-align: center;
  font-size: 1.2rem;
  color: #f1f5f9;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.navbar .nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: #334155; /* Dark gray for better contrast on white navbar */
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-links li a:hover,
.navbar .nav-links li a.active {
  color: var(--primary);
}

.account-dropdown {
  position: relative;
}

.account-btn {
  background: none;
  border: none;
  color: #334155; /* Dark gray for visibility */
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.account-btn:hover {
  background-color: #f1f5f9;
  border-radius: 6px;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: #334155; /* Dark gray text for dropdown links */
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #f1f5f9;
}

.account-dropdown:hover .dropdown-content {
  display: block;
}

/* Report Section */
.report-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 1rem;
  margin-top: 2rem;
}

.report-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #38bdf8;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
}

.form-control,
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 1rem;
}

.form-control:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
}

.map-choose-container {
  margin-top: 0.5rem;
}

.file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  border: 2px dashed #38bdf8;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.file-upload:hover {
  background: rgba(56, 189, 248, 0.1);
}

.file-upload i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.file-upload p {
  margin: 0.25rem 0;
}

.file-upload input {
  display: none;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #38bdf8;
  color: #0f172a;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #0ea5e9;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-contact i {
  margin-right: 1rem;
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #334155;
  color: white;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.9rem;
}