/* ==========================================================
   1. RESET
========================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  font-family: Arial, sans-serif;
  background: #fff;
}

/* ==========================================================
   2. NAVBAR
========================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10000;
}

.logo img {
  height: 150px;
}

.navbar nav {
  display: flex;
  gap: 30px;
}

.navbar nav a {
  text-decoration: none;
  color: #134cae;
  font-size: 19px;
  font-weight: 515;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #002b6f;
}

/* ==========================================================
   3. LANDING PAGE
========================================================== */

.landing-page {
  width: 100%;
  position: relative;
  background: #fff;
  padding-top: 80px;
}

.hero-wrapper {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}


.mobile-image {
    display: none;
}

/* ==========================================================
   4. REGISTER BUTTON HOTSPOTS
========================================================== */

.register-hotspot {
  position: absolute;
  display: block;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.register-hotspot.desktop {
  left: 43.9%;
  top: 51.5%;
  width: 11.9%;
  height: 5%;
}

.register-hotspot.mobile-spot {
  display: none;
  left: 34.4%;
  top: 65%;
  width: 31.2%;
  height: 3.8%;
}

/* ==========================================================
   10. POPUP
========================================================== */

.popup {
  display: none;
  position: fixed;
  top: 90px; /* navbar height */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: flex-start; /* top-aligned so content can always be scrolled into view */
  overflow-y: auto;
  padding: 30px 0;
  z-index: 9999;
}

.popup-content{
    position:relative;
    width:90%;
    max-width:1200px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
}

.close-popup{
    position:sticky;
    top:0;
    align-self:flex-end;
    background:#fff;
    border-radius:50%;
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2;
}

.chief-image{
    width:100%;
    max-width:100%;
    height:auto;
    object-fit:contain;
}
.desktop-image{
    display:block;
}

.mobile-image{
    display:none;
}
/* ==========================================================
   11. MOBILE RESPONSIVE
========================================================== */

@media (max-width: 768px) {
body{
    padding-top:72px;
    overflow-y:auto;
    overflow-x:hidden;
}

.navbar{
    height:72px;
    padding:0 12px;
}

.logo img{
    height:85px;
    width:auto;
}

.menu-toggle{
    display:block;
    font-size:30px;
}

.desktop-image{
    display:none !important;
}

.mobile-image{
    display:block !important;
    width:100%;
    height:auto;
}

  #mainNav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    z-index: 9999;
  }

  #mainNav.show {
    display: flex;
  }

  #mainNav a {
    display: block;
    width: 100%;
    text-align: center;
    color: #134cae;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 0;
    border-bottom: 1px solid #e2e2e2;
  }

  #mainNav a:last-child {
    border-bottom: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  /* Hide desktop completely */
  .desktop-registration,
  .desktop-form-wrapper,
  .desktop-bg,
  .desktop-form-panel {
    display: none !important;
  }

  /* Show only mobile */
  .mobile-registration {
    display: block !important;
    position: relative;
  }

  .form-screen {
    display: block;
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: transparent;
  }

  .form-top img {
    display: block;
    width: 100%;
    height: auto;
  }

  #registrationFormMobile {
    position: absolute;
    top: 26%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    padding: 0;
    z-index: 10;
  }

  #registrationFormMobile label {
    font-size: 13px;
    font-weight: 700;
  }

  #registrationFormMobile input,
  #registrationFormMobile select {
    height: 36px;
    font-size: 13px;
    border-radius: 12px;
  }

  #registrationFormMobile button {
    width: 160px;
    height: 40px;
    font-size: 16px;
  }

  /* Show only mobile register hotspot on mobile */
  .register-hotspot.mobile-spot {
    display: block;
  }

  .popup {
    top: 72px; /* matches mobile navbar height */
    height: calc(100vh - 72px);
    padding: 15px;
    align-items: flex-start;
  }

  .popup-content {
    width: 100%;
    max-width: 390px;
    margin: 20px auto;
    gap: 15px;
  }
}
