/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img, svg {
  max-width: 100%;
  display: block;
}

/* ─── NAVBAR ─── */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e5e5e5;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  width: 50px;
  height: 50px;
}

.navbar-brand-text {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #333;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: #000;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  background: #2c2c2c;
  color: #fff;
  padding: 80px 60px;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

.btn:hover {
  background: #fff;
  color: #1a1a1a;
}

.btn-dark {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.btn-dark:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-filled {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.btn-filled:hover {
  background: #333;
  border-color: #333;
}

/* ─── SECTIONS ─── */
.section {
  padding: 64px 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}

/* ─── ABOUT ─── */
.about-content {
  display: flex;
  align-items: center;
  gap: 32px;
  text-align: left;
}

.about-icon {
  flex-shrink: 0;
}

.about-icon img {
  width: 100px;
  height: 100px;
}

.about-text p {
  font-size: 16px;
  color: #444;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ─── SUBMIT REPORT ─── */
.submit-report {
  background: #fff;
}

.submit-report p {
  font-size: 16px;
  color: #444;
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.submit-report strong {
  color: #1a1a1a;
}

/* ─── MISSION ─── */
.mission {
  position: relative;
  background: #2c2c2c;
  color: #fff;
  padding: 64px 60px;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mission-bg {
  position: absolute;
  inset: 0;
  background: url('/images/mission-bg.jpg') center/cover no-repeat;
  opacity: 0.3;
}

.mission-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.mission-content h2 {
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 16px;
}

.mission-content p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
}

/* ─── CTA BOTTOM ─── */
.cta-bottom {
  padding: 48px 40px;
  text-align: center;
}

.cta-bottom h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 40px;
  text-align: center;
}

.footer-icon {
  margin: 0 auto 16px;
}

.footer-icon svg {
  width: 40px;
  height: 40px;
}

.footer p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

/* ─── MODAL ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: #000;
}

.modal h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal .subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 28px;
}

/* ─── FORMS ─── */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-group label .optional {
  font-weight: 400;
  color: #999;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1a1a1a;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .file-upload {
  position: relative;
}

.form-group .file-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 2px dashed #ddd;
  border-radius: 6px;
  cursor: pointer;
  color: #666;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group .file-label:hover {
  border-color: #999;
}

.form-group input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.file-names {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.form-check input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-check label {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #333;
}

.btn-submit:disabled {
  background: #999;
  cursor: not-allowed;
}

/* ─── SUCCESS MESSAGE ─── */
.success-message {
  text-align: center;
  padding: 40px 20px;
}

.success-message .checkmark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-message h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.success-message p {
  color: #666;
  font-size: 15px;
  margin-bottom: 8px;
}

.success-message .ref-number {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 18px;
  margin: 16px 0;
}

/* ─── CONTACT FORM ─── */
.contact-section {
  background: #f5f5f5;
}

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1a1a1a;
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: #c0392b;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .navbar-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 48px 24px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 48px 24px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-icon img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .about-text {
    text-align: center;
  }

  .mission {
    padding: 48px 24px;
  }

  .mission-content h2 {
    font-size: 24px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .modal {
    padding: 24px;
    margin: 10px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar-brand-text {
    font-size: 12px;
  }

  .navbar-brand img {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .section h2 {
    font-size: 22px;
  }
}
