/* Footer Widgets CSS */
body {
  height: 100% !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 14px !important;
  color: #4a4a4a !important;
  margin: 0 !important;
}
.wrap {
  display: flex !important;
  flex: 1 !important; /* Enable flexbox for the page container */
  flex-direction: column !important;
  min-height: 100vh !important; /* Stack content vertically */
}
.container {
  flex: 1 !important; /* Ensure content section expands to take available space */
  display: flex !important;
  flex-direction: column !important; /* Allow content to stack vertically */
}
#footer-widgets {
  padding: 0;
}

/* Typography CSS */
h1,
h2,
h3,
h4,
h5,
h6,
.theme-heading,
.widget-title,
.oceanwp-widget-recent-posts-title,
.comment-reply-title,
.entry-title,
.sidebar-box .widget-title {
  font-family: Arial, Helvetica, sans-serif;
}
input.error,
select.error,
textarea.error {
  border: 2px solid red !important;
  /* Optional: light red background for better visibility */
}

input.error:focus,
select.error:focus,
textarea.error:focus {
  border: 2px solid darkred !important; /* Darker border when the field is focused */
}

#site-header {
  margin-bottom: 20px;
}

/* Navbar base styles */
.navbar {
  height: 90px;
  background-color: #1c3928 !important; /* Green background */
  width: 100%;
  z-index: 1000;
  top: 0;
  left: 0;
}

.navbar-collapse.show {
  background-color: #1c3928; /* Background color for expanded menu */
}

/* Navbar link styles */
.navbar-nav .nav-link {
  line-height: 80px; /* Align links vertically in the navbar */
  color: #ffffff; /* Text color for links */
  font-size: 18px;
  padding: 0 8px; /* Increase font size */
}

/* Hover and active states */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active:hover {
  color: #61ce70;
}

/* Navbar toggler */
.navbar-toggler {
  line-height: 40px;
  border: none; /* Removes border if any */
  background: transparent; /* Ensures background is transparent */
  padding: 0; /* Removes any default padding */
  display: flex; /* Centers content if needed */
  align-items: center; /* Centers content vertically */
}

.navbar-toggler-icon {
  width: 30px; /* Adjust width as needed */
  height: 3px; /* Adjust thickness of lines */
  background-color: white; /* Makes the menu icon white for visibility */
  position: relative; /* Allows positioning of lines if needed */
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  display: block;
  width: 30px; /* Matches width of the main icon */
  height: 3px; /* Matches thickness of the main icon */
  background-color: white; /* Matches the main icon color */
  position: absolute; /* Allows positioning on the main icon */
}

.navbar-toggler-icon::before {
  top: -8px; /* Adjusts vertical position of the first line */
}

.navbar-toggler-icon::after {
  top: 8px; /* Adjusts vertical position of the third line */
}

/* Navbar brand and positioning */
.navbar-brand {
  margin-right: auto; /* Ensures the brand is on the left and nav items are on the right */
}

.navbar-nav {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.navbar-nav .nav-item {
  margin-left: 5px;
}

/* Navbar collapse padding */
.navbar-collapse {
  flex-grow: 0;
  padding-top: 20px;
}

/* Logo styling */
.navbar-brand img {
  max-width: 182px;
}

/* Hover and active states */
.navbar-nav .nav-link:hover {
  color: #61ce70;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active:hover {
  color: #61ce70;
}

.navbar-nav .nav-link::after {
  border-bottom: 3px solid #61ce70;
}
/* Responsive adjustments */
@media (max-width: 992px) {
  .navbar-toggler {
    line-height: 40px;
  }
}
#footer {
  background-color: #212121; /* Dark background color */
  padding: 10px 40px;
  margin: 10px 0;
  color: white;
}
.site-footer {
  margin-top: auto;
}

.footer-links {
  list-style: none;
  padding: 12px;
  margin: 12px;
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .footer-links {
    display: block; /* Change to block for smaller screens */
    text-align: center; /* Center align links */
  }
}

.footer-links li {
  margin: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  /* Adjust size as needed */
}

.footer-links a:hover {
  color: #61ce70; /* Change to your desired hover color */
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 24px; /* Adjust size as needed */
}

.social-icons a:hover {
  color: #61ce70; /* Change to your desired hover color */
}
/* Custom styles for sections */

label {
  font-size: 1.5em;
  margin-bottom: 5px;
  display: block;
  color: #333;
}
.card {
  background-color: #f9f9f9;
}
.card.active {
  display: block;
}

.card.not-active {
  display: none;
}

.form-control-file::file-selector-button {
  color: #fff;
  background-color: #80bd40;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.form-control-file::file-selector-button:hover {
  background-color: #80bd40;
}

.radio-button-container {
  display: flex;
  gap: 10px;
}

.radio-button-container input[type="radio"] {
  display: none;
}

.radio-button-container label {
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.radio-button-container label:hover {
  background-color: #80bd40;
  color: #fff;
}

.radio-button-container input[type="radio"]:checked + label {
  background-color: #80bd40;
  color: #fff;
  border-color: #80bd40;
}
.form-container {
  background-color: #f9f9f9 !important; /* Pure white background */
  padding: 5rem !important; /* Padding inside the container */
  border-radius: 2px !important;
  flex: 1 !important; /* Ensure content section expands to take available space */
  display: flex !important;
  flex-direction: column !important; /* Rounded corners */ /* Subtle shadow for depth */
}
.form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important; /* Use rem or em for spacing consistency */
  margin: 1.5rem !important;
  align-items: center !important; /* Center horizontally */
  justify-content: center !important; /* Center vertically */
  text-align: center !important; /* Center text */
}

.form-control {
  /* Space above the input fields */
  width: 30% !important; /* Ensure inputs take full width */
}

.form-check {
  display: flex !important;
  flex-direction: row !important; /* Align radio buttons horizontally */
  /* gap: 10px !important;  Add spacing between radio buttons */
}

.form-check-label {
  margin-left: 0.5rem; /* Space between the radio button and the label */
}

.form-group > label {
  font-weight: bold;
  color: #333;
  /*border: 1px solid #ccc;*/
  border-radius: 0.25em;
  font-size: 1rem;
  padding: 0.25em;
}

.radio-button-container input[type="radio"] {
  margin: 5px;
  align-items: center;
  flex-direction: column; /* Space around each radio button */
}
.button-container {
  display: flex;
  justify-content: space-between; /* Distributes space between buttons */
  margin-top: 10px;
}
.round-button {
  background-color: #80bd40 !important; /* Green background color */
  color: #fff !important; /* White text color */
  border: none;
  /* padding: 5px 10px; */
  border-radius: 5px !important;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 10px 20px;
  /* display: flex; */
  /* align-items: center; */
  margin-left: 15px; /*Adjust the button size as needed */
}
.nav-icon {
  width: 16px; /* Adjust icon size as needed */
  height: 16px;
  fill: hsl(134, 66%, 68%); /* This only works for SVGs; makes the SVG green */
  margin: 0 8px;
  filter: invert(0%) sepia(100%) saturate(500%) hue-rotate(90deg)
    brightness(1.5); /* Space between icon and text */
}
.button-container button:hover {
  background-color: #218838; /* Darker green on hover */
  color: #fff; /* White text color on hover */
}
.submit-button {
  background-color: #80bd40 !important; /* Green background */
  color: #fff !important; /* White text */
  border: none !important; /* Remove border */ /* Padding for a nice button shape */
  border-radius: 5px !important; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  font-size: 16px; /* Font size */
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}
.submit-button:hover {
  background-color: #218838 !important; /* Darker green on hover */
}

.submit-button:focus {
  outline: none; /* Remove focus outline */
}

.step-title {
  margin: 0;
  text-align: center;
}

.step-wizard {
  margin-top: 20px; /* Add margin as needed */
}

.step-wizard-list {
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  color: #333;
  list-style-type: none;
  display: flex;
  border-radius: 10px;
  padding: 20px 10px;
  position: relative;
  z-index: 10;
  justify-content: space-between; /* Spread items evenly */
}

.step-wizard-item {
  padding: 0 20px;
  flex: 1;
  text-align: center;
  position: relative;
}

.step-wizard-item:not(:last-child)::after {
  content: "";
  position: absolute;
  background: #333;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 20px); /* Width adjusted to account for padding */
  height: 5px;
  z-index: -1; /* Moved behind content */
}

.progress-count {
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 400;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  background-color: #333; /* Background color for the dot */
  color: #fff; /* Text color for number */
}

.progress-label {
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
}

.current-item .progress-count {
  background-color: #28a745; /* Background color for active dot */
  color: #fff; /* Text color for active dot */
}

@media (max-width: 768px) {
  form {
    width: 100%;
  }
}
#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #28a745;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hide-on-small {
  display: block;
}

/* CSS media query to hide the element on small screens */
@media (max-width: 768px) {
  .hide-on-small {
    display: none;
  }
}
#site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 992px) {
  .navbar-nav {
    flex-direction: column;
  }
}

@media (max-width: 992px) {
  body {
    padding-top: 0; /* Remove padding on smaller screens */
  }
}
.dropdown-menu {
  background-color: #1c3928 !important; /* Background color for dropdown */
}
.dropdown-item {
  color: #ffffff !important; /* Text color for dropdown items */
}
/* Hover Effects */
.dropdown-item:hover {
  background-color: #61ce70 !important; /* Background color on hover */
  color: #ffffff !important; /* Optional: change text color on hover */
}
/* Optional: Adjust the dropdown item padding */
.dropdown-item {
  padding: 10px 15px !important; /* Adjust padding if needed */
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active:hover {
  color: #61ce70 !important;
  justify-content: space-around !important;
  margin: auto;
  padding: 0 10px;
}

.navbar-nav .nav-link {
  position: relative !important;
  /* Add this line to ensure the pseudo-element is positioned correctly */
}

.navbar-nav a::after {
  content: "" !important;
  position: absolute !important;
  background-color: #61ce70 !important;
  height: 1px;
  width: 0% !important;
  left: 0 !important;
  bottom: 15.5px !important;
  transition: 0.3s !important;
}

.navbar-nav .nav-item.active .nav-link::after {
  width: 100% !important;
}

.navbar-nav a:hover::after {
  width: 100% !important;
}

.navbar-nav .nav-link:hover {
  color: #61ce70 !important;
}

/* Use flexbox to align content */
.page-wrapper {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
}

/* Make sure footer is always at the bottom */
#footer {
  margin-top: auto !important;

  padding: 20px 0 !important;
  /* Adjust padding */
}

/* Ensure the dropdown is hidden by default */
.nav-item.dropdown .dropdown-menu {
  display: none !important;
}

/* Show the dropdown when the parent menu item is hovered */
.nav-item.dropdown:hover .dropdown-menu {
  display: block !important;
}

/* Optional: Add transition effect for smooth display */
.nav-item.dropdown .dropdown-menu {
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Show the dropdown with transition on hover */
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Specific styling for Citizen-Radio and Guardian-Citizenship radio buttons */
.Citizen-Radio,
#guardian-citizenship {
  display: flex !important; /* Use flexbox for a horizontal layout */
  gap: 20px; /* Space between radio buttons */
  align-items: center; /* Vertically align the radio button and label */
}

/* Style individual radio button items */
.Citizen-Radio .form-check-item,
#guardian-citizenship .form-check-item {
  display: flex; /* Align radio button and label in a row */
  align-items: center; /* Vertically center the label and button */
  margin: 0 10px; /* Space between radio button items */
}

/* Adjust space between the radio button and its label */
.Citizen-Radio .form-check-input[type="radio"],
#guardian-citizenship .form-check-input[type="radio"] {
  display: none; /* Space between the radio button and its label */
}

/* Optional: Change label color when radio button is checked */
.Citizen-Radio input[type="radio"]:checked + span,
#guardian-citizenship input[type="radio"]:checked + span {
  background-color: #80bd40; /* Change to green (or your desired color) when checked */
}
.Citizen-Radio input[type="radio"]:checked + span::before,
#guardian-citizenship input[type="radio"]:checked + span::before {
  box-shadow: inset 0 0 0 10px #333; /* Change to green (or your desired color) when checked */
}

/* Adjust styling for labels */
.Citizen-Radio .form-check-label,
#guardian-citizenship .form-check-label {
  font-weight: normal;
  display: block;
  cursor: pointer;
  margin-bottom: 10px; /* Set label font weight */
}
.Citizen-Radio .form-check-label span,
#guardian-citizenship .form-check-label span {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px 10px 10px;
  border-radius: 21px;
  transition: 0.25s ease; /* Set label font weight */
}
.Citizen-Radio .form-check-label span:hover,
#guardian-citizenship .form-check-label span:hover {
  background-color: #80bd40;
}
.Citizen-Radio .form-check-label span::before,
#guardian-citizenship .form-check-label span::before {
  content: "";
  background-color: #f3f3f3;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.25s ease;
  box-shadow: inset 0 0 2px #333;
}

.input-group {
  margin: 10px 0 !important;
  position: relative !important;
}

.input-group label {
  position: absolute !important;
  top: 15px !important;
  /* Adjust initial top position */
  left: 15px !important;
  font-size: 15px !important;
  padding: 0 2px !important;
  pointer-events: none !important;
  transition: all 0.3s ease !important;
  color: #333 !important;
}

.input-group input {
  padding: 15px 15px 10px !important;
  outline: none !important;
  background: transparent !important;
  border: 1.2px solid #ccc !important;
  border-radius: 5px !important;
  font-size: 15px !important;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group input:not(:empty) + label {
  /* This covers the 'filled' case as well */
  top: -2px !important;
  font-size: 1.2em !important;
  font-weight: bold !important;
  color: #333 !important;
  transform: translate(0, -16px) scale(0.88) !important;
  background-color: #f9f9f9 !important;
  /* Smooth movement and scale */
  z-index: 1111 !important;
  /* Ensure label stays on top */
}
/* Style the custom file upload button */
.custom-file-upload {
  cursor: pointer !important;
  display: inline-block !important;
}

/* Style the file icon */
.file-icon {
  width: 50px !important; /* Adjust size as needed */
  height: 50px !important; /* Adjust size as needed */
}

/* Hide the default file input button */
.custom-file-upload input[type="file"] {
  display: none !important;
}

/* Optional: Add a hover effect on the icon */
.custom-file-upload:hover .file-icon {
  opacity: 0.8 !important; /* Reduce opacity on hover for effect */
}
