/* General Body Styles */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background-color: #f7f7f7;
}

/* Header Styles */
.header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  margin-right: 10px;
}

.nav-link:hover {
  color: #007bff !important;
}

.lang-selector {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #333;
}

.lang-flag {
  height: 20px;
  width: auto;
}

.urgent-btn {
  margin-right: 20px;
}

.user-icon {
  height: 36px;
  width: auto;
  position: relative;
}

.notification-dot {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  height: 10px;
  width: 10px;
  background-color: #dc3545;
  border: 2px solid #fff;
  border-radius: 50%;
}

/* Main Content Area */
main {
  flex: 1;
  width: 100%;
  padding: 90px 15px 15px;
  box-sizing: border-box;
}

/* Footer Styles */
.footer {
  background-color: #fff;
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 15px;
}

/* Stepper Timeline */
.stepper-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 0 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  /* Added for scroll on small screens */
}

.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 120px;
  /* Ensures each step has enough width */
  text-decoration: none;
  color: #000;
  text-align: center;
}

.stepper-item::before,
.stepper-item::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 100%;
  border-bottom: 2px solid #ccc;
}

.stepper-item::before {
  left: -50%;
}

.stepper-item::after {
  left: 50%;
}

.stepper-item:first-child::before,
.stepper-item:last-child::after {
  content: none;
}

.stepper-item .step-counter {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  color: #000;
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
  z-index: 3;
}

.stepper-item .step-name {
  white-space: nowrap;
  /* Prevent wrapping on desktop */
}

.stepper-item.completed .step-counter {
  background-color: #4caf50;
  color: #fff;
}

.stepper-item.active .step-counter {
  background-color: #2196F3;
  color: #fff;
}

.stepper-item.active .step-name {
  font-weight: bold;
}

.stepper-item.completed::after {
  border-bottom-color: #4caf50;
  z-index: 2;
}

.stepper-item:not(.completed):not(.active):hover .step-counter {
  background-color: #bbb;
  cursor: pointer;
}

/* Responsive adjustments for header and stepper */
@media (max-width: 991.98px) {
  .urgent-btn {
    margin: 10px 0;
  }
}

@media (max-width: 600px) {
  .stepper-wrapper {
    justify-content: flex-start;
    /* Left align for scroll */
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .stepper-item {
    flex: 0 0 auto;
    min-width: 100px;
    /* Adjust width for mobile view */
    margin-right: 20px;
  }

  .stepper-item .step-name {
    white-space: normal;
    /* Allow wrapping on mobile */
  }

  .stepper-item .step-counter {
    width: 30px;
    height: 30px;
    margin-bottom: 4px;
  }

  .stepper-item::before,
  .stepper-item::after {
    top: 15px;
  }

  /* Home page */
  .hero {
    background: url('/image/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
  }

  .services img {
    max-height: 80px;
  }

  .about {
    background-color: #f9f9f9;
  }

  .contact {
    background: #0d6efd;
  }

  html {
    scroll-behavior: smooth;
  }

  #popular-evisas {
    scroll-margin-top: 100px;
  }



}