/* .opacity-0{opacity: 0;}

.header-style-one.header-3{z-index: 11;}

.feature-section-3 .feature-box-3 span{font-size: 38px; font-weight: 600;}
.feature-section-3 .feature-box-3{min-height: 255px;}
.feature-section-3 .feature-service-card-items{min-height: 255px;}

.how-it-work-items-style-3 .title{min-height: 70px;}
.how-it-work-items-style-3 p{min-height: 95px;}

.growth-section .sec-title p{color: #fff;}

.footer-newsletter-wrapper .footer-newsletter-left .icon img{filter: grayscale(1);}
.footer-widget-wrapper .footer-widget-items .contact-list li img{filter: grayscale(1);}

*/

.hero-content h1{font-size: 65px !important;}

/* Hero-3 layout: side margins, top gap, rounded corners to match reference design */
.hero-section.hero-3 {
  margin-left: 30px !important;
  margin-right: 30px !important;
  margin-top: 20px !important;
  border-radius: 30px 30px 0 0 !important;
  padding-top: 130px !important;
  padding-bottom: 0 !important;
}

@media (max-width: 1399.98px) {
  .hero-section.hero-3 {
    padding-top: 130px !important;
  }
}

@media (max-width: 1199.98px) {
  .hero-section.hero-3 {
    padding-top: 120px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .hero-section.hero-3 {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
}

/* Show Apply For ITIN button on all pages */
.outer-box .opacity-0 {
  opacity: 1 !important;
}

.sub-page .header-style-one{position: relative; z-index: 999;}
.sub-page .outer-box .opacity-0{opacity: 1;}
.sub-page .growth-section{margin-bottom: 20px;}

.service-title{display: flex; align-items: center;}
.service-title .title{margin-bottom: 0; margin-left: 20px;}
.service-title .icon img{width: 50px;}

.service-block-four{min-height: 470px;}
.service-block-four .content .text{margin-bottom: 10px; font-weight: 600;}
.service-block-four .content .js--service-desc{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-block-four .content ul{padding-left: 15px; margin-bottom: 15px;}
.service-block-four .content ul li{list-style-type: disc; padding: 5px 0;}
.service-block-four:hover .service-title h3 {color: var(--theme-color-white);}
.service-block-four:hover .content ul li{color: var(--theme-color-white);}
.service-block-four:hover .service-title .icon img{filter: invert(1);}
.service-block-four .btn-style-two .icon{background: transparent;}

.service-know-box .icon svg path{fill: var(--theme-color7);}

.title-outer p{color:#fff; margin-top: 20px;}

.service-card-items-2 .content h3{min-height: 70px;}

.career-ul{padding-left: 15px;}
.career-ul li{list-style-type: disc; padding: 5px 0;} 



.feature-block-one.active .inner-box .content-box .feature-title, .feature-block-one:hover .inner-box .content-box .feature-title{
  color: var(--theme-color-white);
}


.header-style-one.header-3{z-index: 99;}
.how-it-work-sec{
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

/***  buttons  ***/
.growth-section .theme-btn.btn-style-one:hover{
  color: var(--theme-color-white);
}

.btn-style-one:before{
  background-color:var(--theme-color1);
}

.how-it-work-sec .theme-btn.btn-style-one {
  padding: 26px 60px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-right: 100px;
  height: 70px;
  border-radius: 100px;
  /* background: transparent; */
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--headings-color);
}
.how-it-work-sec .theme-btn {
  position: relative;
  margin-top: 30px;
}
.how-it-work-sec .theme-btn .icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: var(--theme-color1);
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
}
.how-it-work-sec .theme-btn.btn-style-one:hover {
  color: var(--theme-color-white);
}
.how-it-work-sec .theme-btn.btn-style-one::before {
  background: var(--theme-color1);
}
.how-it-work-sec .theme-btn.btn-style-one:hover .icon{background-color:var(--theme-color7)}


.doc-box{
  border-radius: 10px;
  padding: 20px;
}
.doc-box .doc-box-title{
  display: flex;
  align-items: center;
}
.doc-box .doc-box-title .icon{
  margin-right: 20px;
}
.doc-box .doc-box-title .icon img{
  width: 45px;
}
.doc-box .doc-box-title h3{
  margin: 0;
}
.doc-box .content{
  max-width: 100%;
}
.growth-block{
  align-items: flex-start;
}


/***   slider   ***/
.slider{
  min-height: 770px;
}
.slider .hero-image img{max-width: 590px;}
.slider .hero-image .text-circle img{max-width: fit-content;}

/***  buttons  ***/

.hero-3 .hero-content .hero-button .theme-btn.btn-style-one:before{background-color: var(--theme-color-white);}
.btn2 {
  padding: 26px 60px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-right: 100px;
  height: 70px;
  border-radius: 100px;
  background: -webkit-gradient(linear, left top, right top, from(#BEEC6B), to(#169C92));
  background: linear-gradient(90deg, #BEEC6B 0%, #169C92 100%);
  color: var(--theme-color-white);
}
.btn2:before {
  position: absolute;
  left: 0;
  top: 0%;
  height: 100%;
  width: 100%;
  content: "";
  background-color: var(--bg-theme-color1);
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
  -webkit-transform-origin: bottom left;
  transform-origin: bottom left;
  transition: -webkit-transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition: -webkit-transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  z-index: -1;
}
.btn2:hover {
  color: var(--headings-color);
}

.testimonial-section-3 .array-button .array-prev:hover i{color: var(--theme-color-white);}

/*** footer ***/
.footer-widget-wrapper .footer-widget-items .contact-list li img{filter: invert(1);}


/***  about us page  ***/
.about-counter .count-box{flex-direction: column;}
.about-counter .count-box h2{font-size: 70px; margin: 0;}
.about-counter .count-box{gap: 0;}
.global-pr{position: relative; padding: 120px 0px 90px; background: var(--theme-color-white);}
.gb-pr-img img{border-radius: 30px;}
.gb-pr-img p{text-align: center;}
.advantage-text {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0px;
  margin: 80px 0;
}

/***  form css  ***/
.form-w7{padding: 30px 0px;}
.form-control{height: calc(2.25rem + 10px);}
.nice-select{height: 46px; line-height:46px;}
.nice-select .current{position: relative; top: -10px;}

.form-container {
  max-width: 1000px;
  margin: 0 auto;
}
.wizard-card {
  background: white;
  border-radius: 2rem;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
/* Step Indicator - Circular with progress connectors */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 1.5rem 2rem;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.step-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: #6c757d;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  border: 2px solid #dee2e6;
  background: white;
}
.step-circle.active {
  background: #0b2b3f;
  border-color: #0b2b3f;
  color: white;
  box-shadow: 0 8px 20px rgba(11, 43, 63, 0.25);
}
.step-circle.completed {
  background: #2c7a4d;
  border-color: #2c7a4d;
  color: white;
}
.step-circle.completed i {
  font-size: 1.6rem;
}
.step-label {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
}
.step-label.active-label {
  color: #0b2b3f;
  font-weight: 700;
}
.step-label.completed-label {
  color: #2c7a4d;
}
.progress-connector {
  flex: 1;
  height: 4px;
  background: #e0e4e9;
  margin: 0 12px;
  border-radius: 4px;
  position: relative;
  top: -8px;
}
.progress-connector-fill {
  height: 100%;
  width: 0%;
  background: #2c7a4d;
  border-radius: 4px;
  transition: width 0.4s ease;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}
.form-step {
  padding: 2rem 2rem 1.8rem;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-title {
  font-weight: 700;
  font-size: 1.6rem;
  color: #0b2b3f;
  border-left: 5px solid #ffb347;
  padding-left: 1rem;
  margin-bottom: 1.8rem;
}
.form-label {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #2c3e4e;
  margin-bottom: 0.3rem;
}
.required-star::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}
.form-control, .form-select {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 0.7rem 1rem;
  background: #fefefe;
  transition: all 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: #ffb347;
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.2);
  background: white;
}
.info-note {
  font-size: 0.7rem;
  background: #fff8ef;
  border-left: 3px solid #ffb347;
  padding: 0.5rem 0.8rem;
  border-radius: 0.8rem;
}
.btn-navigate {
  border-radius: 40px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-next {
  background: #0b2b3f;
  border: none;
  color: white;
}
.btn-next:hover {
  background: #1e4a62;
  transform: translateY(-2px);
}
.btn-prev {
  background: #f1f4f9;
  border: 1px solid #dce3ec;
  color: #2c3e50;
}
.btn-prev:hover {
  background: #e6ecf3;
}
.signature-card {
  background: #fafcff;
  border-radius: 1.2rem;
  padding: 1.2rem;
  border: 1px solid #eef2f8;
}
.footer-note {
  font-size: 0.7rem;
  text-align: center;
  color: #6c86a0;
  padding: 1rem 1.5rem 1.2rem;
  border-top: 1px solid #eef2f8;
  background: white;
}
@media (max-width: 650px) {
  .step-circle { width: 42px; height: 42px; font-size: 1.1rem; }
  .step-label { font-size: 0.6rem; }
  .progress-connector { margin: 0 6px; }
  .step-title { font-size: 1.3rem; }
  .form-step { padding: 1.5rem; }
}
.bg-soft-warning {
  background: #fef5e8;
}
.collapse-toggle {
  cursor: pointer;
  user-select: none;
}
.card-radio-group {
  background: #f8fafd;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #e9edf2;
}
.id-option {
  padding: 0.5rem 0;
}
.id-option input[type="radio"] {
  margin-right: 0.6rem;
  transform: scale(1.1);
  accent-color: #0b2b3f;
}
.other-input {
  margin-top: 0.5rem;
  margin-left: 1.8rem;
}

/***   contact us page   ***/
.contact-details .content-column .inner-column form .type-feild input{background-color: transparent;}
.contact-details .content-column .inner-column form .type-feild textarea{background-color: transparent;}
.contact-details-block{padding: 30px 20px;}

/* itin overview page */


.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 50px;
}

.card {
  background: var(--white);
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  border: 1px solid #f1f5f9;
}

.accent-card { background: var(--theme-color1); color: white; border: none; }
.accent-card h3{color: var(--theme-color-white);}
.card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; background: transparent; padding: 0;}
.icon-box { font-size: 1.5rem; background: var(--theme-color7); padding: 10px; border-radius: 12px; }

.card-content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-content-split ul { list-style: none; color: var(--text-main); }
.card-content-split li { margin-bottom: 12px; display: flex; gap: 10px; }
.card-content-split span { color: var(--theme-color7); font-weight: bold; }

.check-list { list-style: none; }
.check-list li { margin-bottom: 15px; font-size: 0.9rem; opacity: 0.9; }

/* Rules Section */
.rules-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: rgba(241, 245, 249, 0.5);
  padding: 60px;
  border-radius: 40px;
  border: 1px dashed #cbd5e1;
  margin-bottom: 80px;
}

.rule h4 { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-size: 1.2rem; }
.step-num { 
  background: white; width: 32px; height: 32px; 
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 0.8rem; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* CAA Section */
.caa-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.image-wrapper { position: relative; }
.image-wrapper::before {
  content: ''; position: absolute; top: -20px; left: -20px;
  width: 200px; height: 200px; background: rgba(5, 150, 105, 0.1);
  border-radius: 50%; filter: blur(40px); z-index: -1;
}

.image-wrapper img { width: 100%; border-radius: 40px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); border: 8px solid white; }

.caa-content h2 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 30px; }
.underline { text-decoration: underline; text-decoration-color: var(--theme-color7); text-underline-offset: 8px; color: var(--primary); }

.feature-item { display: flex; gap: 15px; margin-bottom: 25px; }
.dot { 
  width: 48px; height: 48px; background: var(--theme-color7); color: var(--theme-color1);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; flex-shrink: 0; font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
  .bento-grid, .rules-box, .caa-feature { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 3rem; }
}



/* Contact form field errors */
.contact-form-group {
    display: block;
    width: 100%;
    margin-bottom: 45px;
}
/* Remove the original bottom margin from type-feild inside our groups
   so the group wrapper controls spacing instead */
.contact-form-group .type-feild {
    margin-bottom: 0 !important;
}
/* When error is visible, reduce group bottom margin so error sits
   snugly below the field and the next field follows naturally */
.contact-form-group:has(.website-field-error:not(:empty)),
.contact-form-group.has-field-error {
    margin-bottom: 8px;
}
.website-field-error {
    display: none;
    color: #e74c3c;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    margin-bottom: 20px;
    padding-left: 2px;
    width: 100%;
}
.contact-details .type-feild.has-error input,
.contact-details .type-feild.has-error textarea {
    border-bottom: 1px solid #e74c3c;
}
.contact-form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eafaf1;
    border: 1px solid #27ae60;
    color: #1e8449;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}
.contact-form-success i {
    font-size: 18px;
    flex-shrink: 0;
}

/* Contact details block — ensure links inside text turn white on hover */
.contact-details-block:hover .text a {
    color: var(--theme-color-white) !important;
}


/****   form css (from style-new.txt)  ***/
.form-card {
  max-width: 1200px;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 8px;
  box-shadow: 0 25px 45px -12px rgba(0, 33, 71, 0.25), 0 8px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid rgba(0, 33, 71, 0.1);
}
.step-header {
  background: white;
  padding: 1.8rem 2rem 0.8rem 2rem;
  border-bottom: 1px solid #eef2f8;
}
.step-sub {
  color: #5b6f82;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1.2rem 0;
  position: relative;
}
.step-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  background: transparent;
  flex: 1;
}
.step-badge .step-circle {
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #5e6f8d;
  transition: all 0.25s;
  border: 2px solid #e2e8f0;
  background: white;
  margin-bottom: 8px;
}
.step-badge.active .step-circle {
  background: #002147;
  border-color: #002147;
  color: white;
  box-shadow: 0 8px 14px -8px rgba(0, 33, 71, 0.4);
}
.step-badge.completed .step-circle {
  background: #d4af37;
  border-color: #d4af37;
  color: #002147;
}
.step-badge .step-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c7f8f;
}
.step-badge.active .step-label { color: #002147; font-weight: 700; }
.step-badge.completed .step-label { color: #d4af37; font-weight: 600; }
.progress-line {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e2edf2;
  z-index: 0;
  margin: 0 6%;
  border-radius: 8px;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: #d4af37;
  transition: width 0.35s ease;
  border-radius: 8px;
}
.form-step-content { padding: 2rem 2rem 1.2rem 2rem; background: #ffffff; }
.form-card .form-step { animation: fadeSlide 0.3s ease-out; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.form-card .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #002147;
  margin-bottom: 0.4rem;
  letter-spacing: -0.2px;
}
.form-card .form-control, .form-card .form-select {
  border-radius: 8px;
  border: 1.5px solid #e4edf2;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  transition: 0.2s;
  background-color: #fefefe;
}
.form-card .form-control:focus, .form-card .form-select:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
  outline: none;
}
.checkbox-group-custom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: #fbfdfe;
  border-radius: 8px;
  transition: all 0.2s;
  border: 1px solid #e9eff5;
}
.checkbox-item:hover { background: #f6fafe; border-color: #d4af37; }
.checkbox-item input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  accent-color: #002147;
  flex-shrink: 0;
  border-radius: 8px;
}
.checkbox-item label {
  font-weight: 500;
  font-size: 0.9rem;
  color: #1e3a4d;
  margin-bottom: 0;
  cursor: pointer;
  flex: 1;
}
.conditional-field {
  margin-left: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid #d4af37;
  background: #f9fdfe;
  border-radius: 8px;
  padding: 1rem;
}
.radio-group-custom {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fafdff;
  border: 1.5px solid #e2ebf3;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  transition: all 0.2s;
  cursor: pointer;
}
.radio-option.selected { border-color: #d4af37; background: #fff9e6; }
.radio-option input { accent-color: #002147; width: 18px; height: 18px; margin: 0; border-radius: 8px; }
.checkbox-modern {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem 0;
}
.checkbox-modern input { accent-color: #002147; width: 1.2rem; height: 1.2rem; border-radius: 8px; }
.upload-card {
  background: #fafcff;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ecf3f8;
  transition: all 0.2s;
}
.upload-card:hover { border-color: #d4af37; background: #fffdf5; }
.upload-area {
  border: 2px dashed #cbdde6;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: all 0.2s;
  background: #fafeff;
  cursor: pointer;
  margin-top: 0.5rem;
}
.upload-area:hover { border-color: #d4af37; background: #fff9e6; }
.upload-icon { font-size: 2rem; color: #002147; margin-bottom: 0.3rem; }
.file-name-display { font-size: 0.8rem; color: #d4af37; font-weight: 500; margin-top: 0.5rem; word-break: break-all; }
.remove-file {
  font-size: 0.7rem;
  color: #dc3545;
  cursor: pointer;
  margin-left: 0.5rem;
}
.remove-file:hover { text-decoration: underline; }
.btn-navigation {
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.2s;
}
.btn-primary-custom {
  background: #002147;
  border: none;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 33, 71, 0.2);
  border-radius: 8px;
}
.btn-primary-custom:hover {
  background: #003366;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 33, 71, 0.25);
  color: #fff;
}
.btn-outline-secondary-custom {
  border: 1.5px solid #cbdde6;
  background: white;
  color: #002147;
  border-radius: 8px;
}
.btn-outline-secondary-custom:hover {
  background: #fff9e6;
  border-color: #d4af37;
  color: #002147;
}
.form-card footer {
  border-top: 1px solid #ecf3f8;
  padding: 1.2rem 2rem 1.8rem 2rem;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info-section {
  background: #fafcff;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ecf3f8;
}
.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #002147;
  margin-bottom: 1rem;
  border-left: 4px solid #d4af37;
  padding-left: 0.75rem;
}
.subgroup {
  background: #ffffff;
  padding: 0.8rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  border: 1px solid #eef2f8;
}
.preview-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  max-height: 600px;
  overflow-y: auto;
}
.preview-category {
  margin-bottom: 1.2rem;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
}
.preview-category-title {
  font-weight: 700;
  color: #002147;
  font-size: 1rem;
}
.preview-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eef2f8;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.preview-label {
  font-weight: 600;
  color: #002147;
  width: 40%;
  font-size: 0.8rem;
}
.preview-value {
  color: #334e68;
  width: 60%;
  font-size: 0.8rem;
  word-break: break-word;
}
.preview-value.empty {
  color: #adb5bd;
  font-style: italic;
}
.badge-status {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  margin-left: 0.5rem;
}
.badge-filled {
  background: #d4af37;
  color: #002147;
}
.badge-empty {
  background: #e9ecef;
  color: #6c757d;
}
.form-card .alert-info { background: #e8f0f9; color: #002147; border-radius: 8px; border: none; }
.form-card .alert-success { background: #fef7e0; color: #002147; border-radius: 8px; border: none; }
@media (max-width: 700px) {
  .step-badge .step-label { font-size: 0.55rem; }
  .step-badge .step-circle { width: 34px; height: 34px; font-size: 0.9rem; border-radius: 8px; }
  .preview-label, .preview-value { width: 100%; }
  .preview-item { flex-direction: column; gap: 0.2rem; }
  .conditional-field { margin-left: 0.5rem; }
}

/* ── Multi-step form: inline step validation alert ── */
.step-validation-alert {
    margin: 0 1.5rem 1rem;
    border-left: 4px solid #dc3545;
    border-radius: 6px;
    font-size: 0.92rem;
    animation: fadeInDown 0.25s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
