body {
  padding-top: 80px;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  
}

header {
  background: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 100%;
  padding: 0 15px;
}

.auth-card {
  box-sizing: border-box;
  width: 100%;
}

.row {
  margin-right: 0;
  margin-left: 0;
}

.form-group {
  margin-bottom: 1rem;
}

/* For better responsiveness */
@media (max-width: 768px) {
  .row {
      flex-direction: column;
  }
  .col-md-6 {
      width: 100%;
  }
  .col-md-3 {
      width: 100%;
  }
}

.error-message {
  display: none; /* Hide error message initially */
}

/* Add some styles for smaller screens */
@media (max-width: 576px) {
  .auth-card {
      padding: 15px;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Ensures it stays above other content */
  background: white; /* Adjust based on your design */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.left-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.left-section h1 {
    font-size: 2.5rem;
    color: #3b8d74;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}
.left-section h1 span {
    font-weight: bold;
}
.login-form {
    margin-top: 20px;
    width: 300px;
}
.login-form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.login-form input.red-border {
    border: 2px solid red;
}
.login-form button {
    width: 100%;
    padding: 10px;
    background-color: #3b8d74;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}
.error-message {
    color: red;
    margin-top: 5px;
}
.right-section {
    height: 700px;
    width: 50%;
    background-color: #9cc9b5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.right-section img {
    width: 420px;
    height: auto;
    border-radius: 50%;
}

@media (max-width: 768px) {
  body {
      display: block; /* instead of flex */
      height: auto; /* remove fixed height */
      margin: 0;
      padding: 0;
      overflow-y: auto;
      background-color: #f8f9fa; /* optional */
  }

  .container {
      width: 95%;
      max-width: 100%;
      padding: 20px 10px;
      box-shadow: none;
      border-radius: 0;
      margin-top: 20px;
  }

  .row {
      flex-direction: column;
  }

  .col-md-6,
  .col-md-3 {
      width: 100%;
  }

  .auth-card {
      padding: 15px;
      margin-bottom: 20px;
  }

  .breadcrumb .step {
      margin: 0 0.5rem;
  }

  .form-navigation {
      flex-direction: column;
      gap: 1rem;
      align-items: stretch;
  }
}
.navbar {
    background-color: var(--text-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .navbar-brand img {
    height: 40px;
    margin-right: 10px;
    transition: transform 0.3s ease, rotate 0.3s ease; /* Logo image animation */
  }

  .navbar-brand:hover img {
    transform: scale(1.1) rotate(5deg); /* Scale up and rotate on hover */
  }

  .navbar-brand span {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .navbar-brand span::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
  }

  .navbar-brand:hover span {
    color: #155e57;
  }

  .navbar-brand:hover span::after {
    width: 100%; /* Underline animation on hover */
  }

  .nav-link {
    color: var(--primary-color) !important;
    margin: 0 10px;
    font-weight: bold; /* Bold text */
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
  }

  .nav-link:hover {
    color: #155e57 !important;
  }

  .nav-link:hover::after {
    width: 100%; /* Underline animation on hover */
  }

  /* Active Page Highlight */
  .nav-link.active {
    background-color: var(--primary-color);
    color: var(--text-color) !important;
    border-radius: 4px;
    padding: 0.5rem 1rem;
  }

  .nav-link.active::after {
    display: none; /* Remove underline for active page */
  }

  /* Collapsible Menu */
  .navbar-toggler {
    border-color: var(--primary-color);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(33, 139, 130, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  .navbar-collapse {
    background-color: var(--text-color);
  }

  .navbar-collapse .nav-link {
    color: var(--primary-color) !important;
    font-weight: bold; /* Bold text in collapsible menu */
  }

  .navbar-collapse .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
  }

  .navbar-collapse .nav-link:hover {
    color: #155e57 !important;
  }

  .navbar-collapse .nav-link:hover::after {
    width: 100%; /* Underline animation on hover */
  }

  .navbar-collapse .nav-link.active {
    background-color: var(--primary-color);
    color: var(--text-color) !important;
    border-radius: 4px;
    padding: 0.5rem 1rem;
  }

  .navbar-collapse .nav-link.active::after {
    display: none; /* Remove underline for active page */
  }


  .navbar-collapse.show ~ .overlay {
    display: block;
  }


  :root {
    --primary-color: #218B82;
    --primary-dark: #1a726b;
    --text-color: #ffffff;
    --secondary-color: #f8f9fa;
    --text-dark: #218B82;
    --error-color: #dc3545;
  }

  body {
    background-color: var(--secondary-color);
    color: var(--text-dark);
  }

  .auth-container {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
  }

  /* Login Card - Smaller on desktop */
  .login-card {
    background-color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 0 auto;
    max-width: 500px; /* Smaller width for login */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  /* Registration Cards - Full width */
  .auth-card {
    background-color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .auth-card h2 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    font-weight: bold;
    color: var(--primary-color);
  }

  .form-group input,
  .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-dark);
  }

  .form-group input:focus,
  .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
  }

  .form-group.error input,
  .form-group.error select {
    border-color: var(--error-color);
  }

  .error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
  }

  .form-group.error .error-message {
    display: block;
  }

  .file-preview {
    margin-top: 1rem;
    max-width: 100%;
    max-height: 200px;
    display: none;
  }

  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color);
  }

  .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
  }

  .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
  }

  .btn-secondary:hover {
    background-color: #f0f0f0;
  }

  /* Breadcrumb */
  .breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
  }

  .breadcrumb .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 2rem;
    color: #777;
    font-weight: bold;
    position: relative;
  }

  .breadcrumb .step .icon-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .breadcrumb .step .icon-text .icon {
    font-size: 1.5rem;
  }

  .breadcrumb .step.active .icon-text {
    color: var(--primary-color);
  }

  .breadcrumb .step.completed .icon-text {
    color: var(--primary-color);
  }

  .breadcrumb .step.completed .icon-text .icon::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  }

  .breadcrumb .step .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #777;
  }

  .breadcrumb .step.active .dot {
    background-color: var(--primary-color);
    color: var(--text-color);
  }

  .breadcrumb .step.completed .dot {
    background-color: var(--primary-color);
    color: var(--text-color);
  }

  .breadcrumb .line {
    position: absolute;
    top: 25px;
    left: 50%;
    width: 80%;
    height: 2px;
    background-color: #ddd;
    z-index: -1;
  }

  /* Navigation buttons */
  .form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
  }

  /* Links */
  a {
    color: var(--primary-color);
    text-decoration: none !important;
    font-weight: bold;
  }

  a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .login-card,
    .auth-card {
      padding: 1.5rem;
    }
    
    .breadcrumb .step {
      margin: 0 1rem;
    }
  }
  
  .dashboard-title {
    font-weight: bold;
    font-size: 36px; /* Adjust as needed */
    color:#218B82; /* Darker text color */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1); /* Lighter shadow for better blending */
    font-family: 'Poppins', sans-serif; /* Ensures font consistency */
}

.breadcrumb .step.completed .icon-text {
  color: #155e57;
}
.breadcrumb .step.completed .dot {
  background-color: #155e57;
  color: white;
}

.auth-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
}

/* Heading Styling */
.auth-card h2 {
  font-weight: bold;
  font-size: 1.8rem;
  color: #0d6efd;
  margin-bottom: 1.5rem;
}

/* Section Titles */
.auth-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #0d6efd;
  padding-bottom: 0.3rem;
}

/* Summary Items */
.summary-item {
  background-color: #f8f9fa;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e3e3e3;
}

/* Image Previews */
.file-preview {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}

/* Navigation Buttons */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.form-navigation .btn {
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  border-radius: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
.form-navigation {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.auth-card {
    padding: 1.5rem;
}

.auth-card h2 {
    font-size: 1.5rem;
}
}


::placeholder {
  font-size: 0.85rem;     /* smaller text */
  color: #aaa;            /* light gray */
  opacity: 1;             /* ensure it's visible */
}


input[type="text"] {
  text-transform: uppercase;
}

input[type="occupation"] {
  text-transform: uppercase;
}



