/* base reset */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Poppins', sans-serif;
  min-height:100vh;
  background: linear-gradient(135deg, #ffb3de 20%, #5f9fff 80%);
  color:#000;
  display:flex;
  flex-direction:column;
  overflow-x:hidden;
}

/* header / nav */
header {
  width:100%;
  padding:5px 30px;
  display:flex;
  justify-content:center;
  align-items:center;
  position:fixed;
  z-index:10;
}


/* .nav {
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  background-color: rgba(255, 255, 255, 0.811);
  border-radius:30px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  padding:10px 20px;
} */

  .nav{
    display:flex;
    gap:0px;
    margin-left: -50px;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    border-radius:30px;
    padding:7px 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
        /* ✨ SILVER GLASS BACKGROUND */
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.769), rgba(255, 255, 255, 0.2)),
        rgba(255, 254, 254, 0.25);
    
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    
    border-top: 1px solid rgba(255,255,255,0.35);
    border-bottom: 1px solid rgba(0,0,0,0.08);

    box-shadow: inset 0 1px 6px rgba(255,255,255,0.25),
                inset 0 -1px 6px rgba(0,0,0,0.10);
        }
/* 
.nav button {
  padding:10px 20px;
  border:none;
  border-radius:20px;
  background: rgba(255,255,255,0);
  color:#00469b;
  font-size:17px;
  cursor:pointer;
  font-weight:520;
  transition:all .25s ease;
} */
/* .nav button.active,
.nav button:hover {
  background: linear-gradient(135deg,#006effc7,#f78fb3);
  color:#fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
} */

    /* Nav link style with hover */
    .nav button{
        padding: 5px 12px;
        font-size: 17px;
        font-weight: 500;
        color:#00469b;
        border-radius: 50px;
        transition: all 0.25s ease;
        background: rgba(211, 211, 211, 0);
    }
    .nav button:hover,
    .nav button.active {
              font-size: 18px;

        padding: 12px 25px;
                /* ✨ SILVER GLASS BACKGROUND */
  background: linear-gradient(135deg,#0055ffc7,#f78fb3);

    
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    
    border-top: 1px solid rgba(255,255,255,0.35);
    border-bottom: 1px solid rgba(0,0,0,0.08);

    box-shadow: inset 0 1px 6px rgba(255,255,255,0.25),
                inset 0 -1px 6px rgba(0,0,0,0.10);
    
    border-radius: 27px;

        color:#fff;
    }

    /* .nav button.active{
        background: transparent;
        color:#7B2FF7 !important;
        font-weight: 700;
    }

    .nav button:hover {
        background: rgba(0,123,255,0.12);
        color:#7B2FF7  !important;
    } */
/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  position: absolute;
  right: 50px;
  top: 18px;
  width: 40px;
  height: 25px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: 0.3s ease;
}/* ================= MOBILE NAV ANIMATION ================= */
@media (max-width: 820px) {

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav {
    position: absolute;
    top: 10px;
    left: 40%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    width: 100%;
    max-width: 320px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: rgba(247, 247, 247, 0.9);
    border-radius: 16px;
    padding: 0;

    opacity: 0;
    pointer-events: none;

    transition: transform 0.6s cubic-bezier(0.77,0,0.175,1), opacity 0.4s ease;
  }

  /* ACTIVE STATE */
  .nav.show {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
    pointer-events: auto;
    padding: 20px 0;
  }

  /* BUTTONS WITH STAGGERED ANIMATION */
  .nav button {
    width: 40%;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: transform 0.4s ease, opacity 0.4s ease;
          /* border:1px solid #ddd; */

    }

  .nav.show button {
    opacity: 1;
    transform: translateY(0);
  }

  /* STAGGERED DELAY FOR BUTTONS */
  .nav.show button:nth-child(1) { transition-delay: 0.05s; }
  .nav.show button:nth-child(2) { transition-delay: 0.10s; }
  .nav.show button:nth-child(3) { transition-delay: 0.15s; }
  .nav.show button:nth-child(4) { transition-delay: 0.20s; }
}

/* progress circle top-right */
#progress-circle{
  position:absolute; right:50px; top:80px; width:70px; height:70px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-weight:600; color:#333; background: conic-gradient(#ddd 0deg, #ddd 360deg);
  box-shadow:0 0 15px rgba(255,255,255,0.6); backdrop-filter: blur(10px);
}

/* main content */
main { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; padding:40px 0px; }
main #cv{
  padding: 40px 0px;
}
.content {
  display:none; width:100%; max-width:1500px; background:rgba(255,255,255,0.25);
  backdrop-filter:blur(12px); border-radius:25px; box-shadow:0 4px 30px rgba(0,0,0,0.08);
  padding:40px 30px; text-align:center; margin-top:40px;
}
.content.active { display:block; animation:fadeIn .35s ease; }

@keyframes fadeIn { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:translateY(0)} }

.content h2 {
  width: 100%;
  text-align: center;
  margin: 0 0 10px;
  margin-top: 10px;
}

.content h2 span {
  display: inline-block;
  font-size: 1.9rem;
  font-weight: 800;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(90deg, rgb(76, 133, 255), rgb(255, 141, 192));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 500px){
  .content h2{
    margin-top: -15px;
  }

  .content h2 span{
    font-size: 1.3rem;   /* smaller & clean */
    line-height: 1.2;
    letter-spacing: 0.2px;
  }
}
@media (max-width: 1500px){
  .content{
    margin-top: 80px;
  }}
@media (max-width: 820px){
  .content{
    margin-top: 10px;
  }}

/* .content input {  padding:12px 14px; border-radius:12px; border:none; margin-top:8px; background:rgba(255,255,255,0.85); box-shadow: inset 0 0 6px rgba(0,0,0,0.06); } */

/* navigation buttons inside steps */
.buttons { display:flex; gap:12px; justify-content:center; margin-top:18px; }

.next-btn, .back-btn{
  border:none; border-radius:25px; padding:10px 22px; cursor:pointer; font-weight:600; color:#fff; transition:transform .18s ease, box-shadow .18s ease;
}

.next-btn { background: linear-gradient(135deg,#0055ffc7,#f78fb3); box-shadow:0 6px 18px rgba(91,140,255,0.15); }
.back-btn { background: linear-gradient(135deg,#a2c6fb,#ffb3d1); box-shadow:0 6px 18px rgba(255,179,209,0.12); }
.sbbt { background: linear-gradient(135deg,#28a745,#5ce1e6); box-shadow:0 6px 18px rgba(92,255,170,0.12); }

.next-btn:hover, .back-btn:hover, .sbbt:hover{ transform: translateY(-4px); }

/* submit container (after 9th step) */
/* .submit-container {
  display:none;
  width:100%;
  max-width:700px;
  margin:20px auto 40px;
  background: rgba(255,255,255,0.9);
  border-radius:14px;
  padding:14px 18px;
  text-align:center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
} */

/* overlay */
.overlay {
  display:none;
  position:fixed; inset:0; background: rgba(0,0,0,0.35); z-index:9999;
  justify-content:center; align-items:center;
}
.overlay .overlay-inner {
  background: #fff; padding:20px 26px; border-radius:12px; text-align:center; min-width:260px;
}

/* final "Go to your web" button */
#goWebBtn {
  display:none;
  margin-top:12px;
  background: linear-gradient(135deg,#006eff,#ff6fa3);
  color:#fff; border:none; padding:12px 20px; border-radius:10px; cursor:pointer; font-weight:700;
}

/* small responsiveness */
@media (max-width:480px) {
  .nav { gap:8px; padding:8px; }
  .content { padding:28px 18px; margin-top:16px; }
  #progress-circle { width:56px; height:56px; right:23vh; top:-10px; }
}


.country-input-wrapper { position: relative; }
/* .selected-country input{

} */


.selected-country {
  padding: 0px 0px;
  padding-left: 5px;
   border: 2px solid #bbbbbb;
  border-radius: 8px;
  outline: none;
  font-size: 16px;
  background-color: rgb(156, 156, 156);
  color: #00469b;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.selected-country img { width: 24px; height: 18px; margin-right: 4px; }
.selected-country .arrow { margin-left: 4px; font-size: 12px; }
#BusNumber { border: none; padding: 15px; outline: none;background-color: #ffffff;  box-shadow: 0 0 8px rgba(255, 255, 255, 0);
 }
 /* Floating Label */
.country-input-wrapper  label {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #aaa;
  padding: 0 4px;
  pointer-events: none;
  transition: all 0.25s ease-in-out;
}

.country-dropdown {
  position: absolute;
  top: 100%;      /* directly under the full input wrapper */
  left: 0;        /* start from left of wrapper */
  width: 100%;    /* full width of input + flag area */
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #ccc;
  background: #fff;
  display: none;
  z-index: 1000;
}

.country-dropdown div {
  display: flex; align-items: center; padding: 4px 8px; cursor: pointer;
}
.country-dropdown div:hover { background: #1472f7; }
.country-dropdown img { width: 24px; height: 18px; margin-right: 8px; }





/* ===== Loader Wrapper ===== */
.loader-wrap {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.loader-wrap.hidden {
  display: none;
}

/* Windows 11 style loader */
.win-loader {
  width: 70px;
  height: 70px;
  border: 4px solid #dbeafe;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-wrap p {
  margin-top: 12px;
  font-size: 1.2rem;
  color: #2563eb;
  font-weight: 500;
}





