/* =========================================================
   1) GLOBAL / BASE
   ========================================================= */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  touch-action: pan-y; /* allows only vertical scroll */
}

:root {
  --primary-green: #010707;
  --secondary-green: #0a3b3f;
  --accent-blue: #21a5b4;
  --warm-yellow: #ffeb3b;
  --deep-forest: #010707;
  --light-mint: #e8fff0;
  --glow-green: rgba(33, 178, 180, 0.3);
  --glow-blue: rgba(10, 63, 59, 0.3);
}

/* ===== Scrollbar Styling (Dark Green Theme) ===== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #e6f4f4;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background:  #EE007D;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background:  #af0146;
}

/* =========================================================
   GLOBAL RESET & BASE
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Poppins' , sans-serif;
}

body, html {
    margin: 0; 
    padding: 0;
    min-height: 100vh;
    background: #ffffff;
}


/* =========================================================
   2) HEADER / NAVIGATION
   ========================================================= */
.logo img {
  height: 60px;
  /* adjust as needed */
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #16d2e0, #11f7ff, #85fbff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .logo img {
    height: 40px;
    /* smaller logo for mobile */
  }
}

header {
  width: 100%;
  padding: 5px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

header.scrolled {
  background: rgba(1, 7, 7, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/*header.scrolled .logo h2 {
  color: #4c2dff;
}

.logo h2 {
  color: #a64ce3;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.logo h2:hover {
  color: #3a44fe;
} */

/* Nav Menu */
.menu {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.menu li {
  position: relative;
}

.menu a {
  font-family: 'Poppins', sans-serif;
  color: #EE007D;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: all 0.3s ease;
}

.menu a::after {
  display: none;
}

.menu a:hover {
  font-weight: 600;
  color: #d40e5e;
  transform: scale(1.1);
}

.menu a img {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.menu a:hover img {
  transform: scale(1.2);
}

/* Login Button */
.login-btn a {
  background: linear-gradient(90deg, #EE007D, #d10154);
  color: #ffffff !important;
  padding: 6px 28px;
  border-radius: 8px;
  font-weight: 500;
  border: 2px solid #ffffff;
  transition: all 0.3s ease, box-shadow 0.3s ease;
}

.login-btn a:hover {
  background: linear-gradient(90deg, #ff2076, #dc0255);
  color: #ffffff !important;
  transform: scale(1.08);
  border-color: #ff85b3;
  box-shadow: 0 0 12px rgba(255, 0, 96, 0.7);
}

/* Remove underline effect for login button */
.login-btn a::after {
  display: none;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #EE007D;
  border: 1px solid rgba(255, 0, 96, 0.55);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 18px rgba(255, 0, 96, 0.35);
  animation: dropdownFade 0.35s ease forwards;
  z-index: 999;
}

.dropdown-menu li a {
  padding: 16px 22px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding-left: 28px;
}

.dropdown-menu li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 0%;
  width: 3px;
  background: linear-gradient(90deg, #0a3a3f, #EE007D);
  border-radius: 4px;
  transform: translateY(-50%);
  transition: height 0.3s ease;
}

.dropdown-menu li a:hover::before {
  height: 60%;
}

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

/* Dropdown animation */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #EE007D;
  border-radius: 4px;
  transition: all 0.4s ease;
}

/* Animate to X when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1200px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    text-align: center;
    animation: slideDown 0.4s ease forwards;
  }
  nav.active {
    display: flex;
    padding: 20px;
  }

  .menu {
    flex-direction: column;
    gap: 20px;
  }

  .menu li {
    width: 100%;
  }

  .menu li a {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .dropdown-menu {
    display: none;
  }

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

  .login-btn a {
    display: block;
    width: 80%;
    margin: 16px auto;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}


/* =========================================================
   SIGNUP WRAPPER / CARD
   ========================================================= */
.signup-wrap {
  width: 100%;
  max-width: 680px;
  margin: 100px auto;
  padding: 15px;
}

.card h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  color: #f8d9ef !important;
  font-weight: 700;
  
}

.card p{
  color:#fff;
}

/* =========================================================
   FORM STYLING
   ========================================================= */
form label {
  display: block;
  margin: 12px 0 6px;
  font-size: 0.95rem;
  color: #fff;
}

form input,
form select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #EE007D;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  transition: border 0.3s, background 0.3s;
  background-color: #ffffff !important;
  color: #EE007D !important;
}

form input:focus,
form select:focus {
  border-color: #EE007D;
  outline: none;
  box-shadow: 0 0 0 2px rgba(238, 0, 125, 0.2);
}

form input::placeholder {
  color: #EE007D !important;
  opacity: 0.6;
}

/* Fix autofill text & background */
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  -webkit-text-fill-color: #EE007D !important;
  caret-color: #EE007D;
}

.row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.col {
  flex: 1;
}

.row2 {
  display: block; /* or remove any flex/grid */
}

.col2 {
  width: 100%; /* full width per input */
  margin-bottom: 1rem; /* spacing between fields */
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

#flag {
  font-size: 24px;
}

#phone_code {
  width: 90px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #EE007D;
  border-radius: 8px;
  padding: 8px;
  font-weight: 500;
  color: #EE007D;
}

/* =========================================================
   BIOMETRIC CHECKBOX
   ========================================================= */
.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.checkbox input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 1px solid #EE007D;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox input[type="checkbox"]:checked {
  background-color: #EE007D;
  border-color: #EE007D;
}

.checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 7px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox span {
  color: #ffe0f2;
}

/* =========================================================
   BUTTON
   ========================================================= */
.btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 2px solid #ac025d;
  color: #EE007D;
  font-weight: 600;
  border-radius: 6px;
  margin-top: 18px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  font-size: 1rem;
}

.btn:hover {
  background: #EE007D;
  color: #fff;
}


.login-link {
  text-align: center;
  margin-top: 15px;
  font-size: 0.95rem;
  color: #ffe0f3;
}

.login-link a {
  color: #f9f7f8 !important;
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover {
  text-decoration: underline;
  color: #fedbee !important;
}


/* =========================================================
   ALERTS / ERRORS
   ========================================================= */
.errors,
.notice {
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.errors {
  background: #ffe5e5;
  border: 1px solid #ff6b6b;
  color: #b00020;
}

.notice {
  background: #e5f7ff;
  border: 1px solid #3399ff;
  color: #004d80;
}

/* ---------- Card Animation ---------- */
.card {
  background: #EE007D;
  border: 1px solid #450225;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  padding: 1.5rem 1.5rem;
  animation: cardFadeIn 0.6s ease forwards;
  opacity: 0; /* start hidden for animation */
  transform: translateY(30px) scale(0.98); /* start slightly lower & smaller */
}

/* Keyframes for fade + slide + scale */
@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1); /* final resting position */
  }
}

/* Optional: stagger multiple cards */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }


/* Password show option*/
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 60px; /* space for Show/Hide text */
}

.toggle-password {
  position: absolute;
  right: 12px;
  font-size: 14px;
  color: #EE007D;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(42%) sepia(93%) saturate(500%) hue-rotate(90deg);
}
.logo img {
    height: 60px;           /* adjust as needed */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;       /* smaller logo for mobile */
    }
}

