/* =========================
   ZTSGF — styles.css (FINAL v2 mobile nav & pinned navbar)
   ========================= */

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f5f5ff;
  color: #333;
  overflow-x: hidden;
 padding-top: 88px; /* match navbar height */
}

section {
  position: relative;
  padding: 40px 20px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* ---------- Header / Hero ---------- */
.header {
  background: white;
  text-align: center;
  padding: 60px 20px;
}

.logo {
  width: 200px;
  margin-bottom: 20px;
}

.roundedimages {
  max-width: 100%;
}

/* Background / Video sections */
.bg-section {
  background-size: cover;
  background-position: center;
}

.video-section video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.overlay.light {
  background: rgba(255, 255, 255, 0.8);
}

.content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: white;
}

/* Forms and color blocks */
.form {
  margin: 15px 0;
  padding: 20px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.orange { background: #ff6600; }
.yellow { background: #ffc107; color:#222; }
.lime   { background: #cddc39; color:#222; }
.green  { background: #28a745; }
.blue   { background: #007bff; }
.purple { background: #6f2dbd; }

.animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  text-align: center;
  padding: 20px;
  background: #6f2dbd;
  color: white;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; /* pinned at top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95); /* lighter for top */
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 50px;
  height: auto;
  margin-right: 6px;
  border-radius: 6px;
}

.site-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  align-items: center;
  transition: none;
  position: static;
  background: none;
  height: auto;
  box-shadow: none;
}

.nav-links li {
  margin: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 8px 10px;
  border-radius: 8px;
  display: inline-block;
}

.nav-links li a:hover {
  background: rgba(0,0,0,0.05);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  top: 30px;
  right: 0;
  min-width: 100px;
  z-index: 1001;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile icons / flag */
.mobile-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1002;
}

.flag {
  width: 30px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.nav-item-disabled {
  color: #999;
  font-weight: bold;
  cursor: not-allowed;
  position: relative;
  display: inline-block;
}

.badge {
  background: #ffc107;
  color: #333;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 8px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ---------- HAMBURGER ---------- */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1300;
}

.hamburger i {
  pointer-events: none;
}

/* ---------- MOBILE / SMALL SCREENS ---------- */
@media (max-width: 1000px) {
  .hamburger {
    display: flex;
  }

  .nav-right {
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%; /* fully offscreen by default */
    width: 60vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 0 0 0 20px;
    padding: 70px 24px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.25);
    justify-content: flex-start;
    align-items: stretch;
    gap: 18px;
    z-index: 1200;

    /* hidden state */
    pointer-events: none;
    transition: right 0.35s ease;
  }

  /* When menu opens */
  .nav-links.show,
  .nav-links.open {
    right: 0;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    margin: 6px 0;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1.05rem;
    border-radius: 12px;
    color: #333;
  }

  .flag {
    position: relative;
    z-index: 1301;
  }
}

/* ---------- SMALLER MOBILE TWEAKS ---------- */
@media (max-width: 600px) {
  .popup-content { width: 95%; padding: 20px; }
  .submit-btn { font-size: 1rem; }
}

/* ---------- Accessibility ---------- */
.hamburger:focus,
.hamburger:hover {
  background: rgba(0,0,0,0.04);
  outline: none;
}

/* ---------- POPUP ---------- */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.hidden { display: none; }

.popup-content {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  color: #fff;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group label {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 5px;
  display: block;
}

.form-group input,
.form-group select {
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.submit-btn {
  padding: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  background: linear-gradient(45deg, #6f2dbd, #ff6600);
  color: white;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.submit-btn:hover {
  transform: scale(1.05);
}

.team-only { display: none; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.circle-img { max-width: 100%; border-radius: 12px; }
/* Make navbar stick to top */
/* FORCE navbar pinned on all screen sizes */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1300;

  background: rgba(255, 255, 255, 0.18);   /* glassy */
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid rgba(255,255,255,0.12);

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}


