/* ================= BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0c3d2c;
  --accent-color: #f4b400;
  --text-color: #1a1a1a;
  --bg-color: #f9f9f9;
  --white: #fff;
  --gray: #e6e6e6;
  --off-white: #f4ffec;
  --light-green: #4fc874;
  --mid-green: #2a624a;
  --dark-green: #1b382b;
  --black-transparent: rgba(0, 0, 0, 0.1);
  --transition: 0.3s ease;
  --font: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= NAV ================= */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: transparent;
}

.logo img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: var(--off-white);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links li a:hover {
  color: var(--light-green);
  font-weight: 600;
}

.dropdown {
  position: relative;
}

.dropdown .arrow {
  margin-left: 6px;
  display: inline-block;
  transition: transform var(--transition);
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 38px;
  left: 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 6px 12px var(--black-transparent);
  z-index: 100;
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--dark-green);
  transition: background var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--off-white);
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--black-transparent);
}

.btn-ambassador {
  background: linear-gradient(135deg, var(--mid-green), var(--dark-green));
  color: var(--off-white);
  text-decoration: none;
}

.btn-contact {
  background: var(--light-green);
  color: var(--off-white);
  text-decoration: none;
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--off-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background: var(--dark-green);
  padding: 30px 20px;
  transition: right 0.4s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  right: 0;
}

.mobile-header {
  display: flex;
  justify-content: flex-end;
}

.close-menu {
  font-size: 1.8rem;
  color: var(--off-white);
  cursor: pointer;
}

/* ===== Mobile Nav Links ===== */
.mobile-menu ul {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu li {
  position: relative;
}

.mobile-menu a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--light-green);
}

/* ===== Dropdown in Mobile ===== */
.mobile-menu .dropdown > a::after {
  content: '▼';
  float: right;
  font-size: 0.7rem;
  margin-left: 10px;
  transition: transform var(--transition);
}

.mobile-menu .dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 10px;
  margin-top: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.mobile-menu .dropdown.open > .dropdown-menu {
  display: flex;
}

.mobile-menu .dropdown-menu a {
  padding: 8px 12px;
  font-size: 0.95rem;
  color: var(--off-white);
  border-bottom: none;
}

.mobile-menu .dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-green);
}

/* ===== Mobile Nav Buttons ===== */
.mobile-buttons {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-buttons .btn {
  padding: 14px;
  text-align: center;
  background-color: transparent;
  color: var(--off-white);
  border: 1px solid #fff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}

.mobile-buttons .btn:hover {
  background: var(--light-green);
  color: var(--dark-green);
}

@media (max-width: 1024px) {
  .desktop-only {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ================= HERO ================= */
.ambassador-hero {
  background: url('assets/construction-works-frankfurt-downtown-germany.jpg') center center/cover no-repeat;
  padding: 8rem 0 5rem;
  text-align: center;
  color: var(--white);
  position: relative;
}

.ambassador-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.ambassador-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.ambassador-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.ambassador-hero p {
  font-size: 1.1rem;
  color: #e0e0e0;
}

@media (max-width: 768px) {
  .ambassador-hero h1 {
    font-size: 2rem;
  }

  .ambassador-hero p {
    font-size: 1rem;
  }
}

/* ================= FORM ================= */
.ambassador-form-section {
  padding: 4rem 0;
}

.ambassador-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group span {
  color: red;
}

input,
textarea,
select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  background-color: #fff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-color);
  outline: 2px solid var(--light-green);
}

textarea {
  resize: vertical;
}

.submit-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font);
}

.submit-btn:hover {
  background-color: var(--light-green);
}

/* ================= FOOTER ================= */
.footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 60px 5% 30px;
  font-family: var(--font);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d9eedd;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #82d89d;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #4fc874;
}

.footer-contact p {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #d9eedd;
}

.footer-socials a {
  margin-right: 10px;
  display: inline-block;
}

.footer-socials img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}

.footer-socials img:hover {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #a5cdb8;
  border-top: 1px solid #2e5546;
  padding-top: 15px;
}

    .submit-btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 22px;
      background: #25D366;
      color: #fff;
      font-weight: 600;
      font-size: 16px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }
    .submit-btn:hover {
      background: #1ebe5a;
    }
    .submit-btn:disabled {
      background: #ccc;
      cursor: not-allowed;
    }
    .loader {
      display: none;
      width: 18px;
      height: 18px;
      border: 3px solid #fff;
      border-top: 3px solid transparent;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* Submission notice */
    .form-notice {
      display: none;
      margin-top: 15px;
      padding: 12px;
      border-radius: 6px;
      font-weight: 500;
    }
    .form-notice.success {
      background: #E8F9F0;
      color: #1e7c4a;
      border: 1px solid #25D366;
    }
    .form-notice.error {
      background: #FDECEC;
      color: #b02d2d;
      border: 1px solid #e74c3c;
    }