/* navbar */
nav .navbar-nav .nav-item {
  margin: 20px 10px;
}
nav .navbar-nav .nav-item .nav-link {
  font-weight: 600;
}
nav img{
  max-width: 200px;
  height: auto;
}
/* hero */
section.hero {
  background: linear-gradient(45deg, #1a1e4b 0%, #878cc5 100%);
  padding: 60px 0;
}
section.hero p {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.hero img{
  max-width: 40px;
  height: 45px;
  object-fit: contain;
}
/* form container */
.form-container {
  margin-bottom: 150px;
}
#smartwizard ul {
  margin-top: -20px;
  padding: 2rem 0;
}

.sw-theme-dots > .nav::before {
  top: 3rem;
}
@media screen and (max-width: 640px) {
  .sw-theme-dots > .nav::before {
    top: 0;
    right: 30px;
    width: 5px;
    height: 100%;
  }
}
@media screen and (max-width: 640px) {
  .sw-theme-dots > .nav .nav-link {
    margin-top: unset;
    margin-bottom: 20px;
    padding-right: 5rem;
    text-align: right !important;
  }
}
@media screen and (max-width: 640px) {
  .sw-theme-dots > .nav .nav-link::after {
    top: 0;
    left: unset;
    right: 10px;
  }
}
@media screen and (max-width: 640px) {
  .sw-theme-dots > .nav .nav-link > .num {
    top: 0;
    left: unset;
    right: 10px;
    width: 46px;
    padding-top: 10px;
  }
}
.sw-theme-dots[dir='rtl'] > .nav-progress::after{
    top: 3rem;
}
#smartwizard > div{
    padding: 20px !important;
} 
@media screen and (max-width: 640px) {

.sw-theme-dots[dir='rtl'] > .nav-progress::after {
    left: unset;
    right: 30px;
    top: 0;
}
}

/* SmartWizard toolbar button consistency */
.sw .toolbar > .sw-btn {
    margin: 0 0.25rem;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.sw .toolbar > .sw-btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.sw .toolbar > .sw-btn.btn-success:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

/* Ensure buttons are properly aligned */
.sw .toolbar {
    text-align: center;
    padding: 1rem 0;
}

/* Form styling improvements */
.form-control:valid {
    border-color: #ced4da !important;
    background-image: none !important;
}

.form-control:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control:focus:valid {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* Clean appearance for valid inputs without success styling */
.was-validated .form-control:valid {
    border-color: #ced4da !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: none !important;
}

/* Keep only error styling visible */
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Hide valid feedback messages */
.valid-feedback {
    display: none !important;
}

/* -------------- */

footer{
  background: linear-gradient(180deg, #1A1E4B 0%, #878CC5 100%);
  padding: 30px 0 ;
}
footer .footer-col hr{
  border: 1px solid #fff;
  margin: 20px 0;
}
footer .footer-col ul li a{
  font-size: 1.1rem;
}