/* premium-forms.css */

/* Typography + rhythm */
.forms-wrap{ max-width: 1100px; }
.forms-hero{
  padding: 34px 0 26px;
  background: linear-gradient(180deg, #f7f9fc, #ffffff);
  border-bottom: 1px solid rgba(2,6,23,0.06);
}
.forms-title{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0b2a4a;
  text-align: center;
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 40px);
}
.forms-subtitle{
  text-align: center;
  color: #64748b;
  margin: 0;
}

/* Section headings */
.forms-section{ margin-top: 8px; }
.section-head{
  text-align: center;
  margin: 16px 0 14px;
}
.section-head h2{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #0b2a4a;
  margin: 0;
  font-size: 18px;
}
.section-head p{
  margin: 6px 0 0;
  color: #64748b;
  font-size: 14px;
}

/* Doc cards */
.doc-card{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(2,6,23,0.08);
  background: #fff;
  text-decoration:none;
  color:#0f172a;
  box-shadow: 0 10px 26px rgba(2,6,23,0.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  min-height: 64px;
}
.doc-card:hover{
  transform: translateY(-2px);
  border-color: rgba(11,42,74,0.22);
  box-shadow: 0 16px 36px rgba(2,6,23,0.10);
  text-decoration:none;
}

.doc-ic{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #f3f6fb;
  display:grid;
  place-items:center;
  flex: 0 0 44px;
  color: #0b2a4a;
}
.doc-ic i{ font-size: 18px; }

.doc-title{
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  flex: 1 1 auto;
  max-width: 420px;
}

.doc-action{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #0b2a4a;
  color: #fff;
  display:grid;
  place-items:center;
  flex: 0 0 40px;
}
.doc-action i{ font-size: 16px; }

/* Fix the earlier navbar bubble issue (nav pill) */
.nav-pill{
  background:#f3f6fb;
  border-radius:14px;
  padding:6px;
  gap:2px;
  align-items:center;
}
.nav-pill .nav-link{
  padding:10px 14px;
  height:40px;
  display:flex;
  align-items:center;
  border-radius:12px;
  font-size:14px;
  font-weight:500;
  line-height:1;
  color:#334155 !important;
  transition: background .15s ease, box-shadow .15s ease, color .15s ease;
}
.nav-pill .nav-link:hover,
.nav-pill .nav-link.active{
  background:#fff;
  color:#0b2a4a !important;
  box-shadow:0 6px 16px rgba(15,23,42,.10);
}
.nav-pill .dropdown-toggle::after{
  margin-left:8px;
  opacity:.65;
  transform: translateY(1px);
}

/* Dropdown polish */
.pro-dd, .quick-links{
  width: 280px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}
.pro-dd .dropdown-header, .quick-links .dropdown-header{
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  padding: 6px 12px;
}
.pro-dd .dropdown-item, .quick-links .dropdown-item{
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}
.pro-dd .dropdown-item:hover, .quick-links .dropdown-item:hover{
  background: #f3f6fb;
  color: #0b2a4a;
}
.quick-links .dropdown-item i{
  font-size: 16px;
  color: #0b2a4a;
  min-width: 18px;
}

/* Mobile */
@media (max-width: 991.98px){
  .nav-pill{
    background:transparent;
    padding:0;
    border-radius:0;
  }
  .nav-pill .nav-link{
    height:auto;
    padding:10px 12px;
    border-radius:10px;
  }
  .forms-wrap{ max-width: 100%; }
  .doc-title{ max-width: 100%; }
}
/* Premium section headers */
.pro-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin: 28px 0 16px;
}

.pro-head__title{
  margin:0;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f6fb;
  border: 1px solid rgba(2,6,23,0.08);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  color:#0b2a4a;
  white-space: nowrap;
}

.pro-head__line{
  height: 1px;
  background: rgba(2,6,23,0.10);
  flex: 1 1 auto;
}
/* ===== Forms Page Header (Professional) ===== */

.forms-page-header{
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(2,6,23,0.06);
  padding: 22px 0;
}

.forms-page-header__inner{
  display: flex;
  align-items: center;
  gap: 16px;
}

.forms-page-header__icon{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #0b2a4a;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(11,42,74,0.22);
  flex: 0 0 48px;
}

.forms-page-header__icon i{
  font-size: 18px;
}

.forms-page-header__title{
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0b2a4a;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
}

.forms-page-header__subtitle{
  margin: 6px 0 0;
  color: #64748b;
  font-size: 14px;
}

/* Mobile alignment */
@media (max-width: 767px){
  .forms-page-header__inner{
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Soft banking-style pulse */
@keyframes softPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(11, 42, 74, 0.35);
  }
  70% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px rgba(11, 42, 74, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(11, 42, 74, 0);
  }
}

.forms-page-header__icon{
  animation: softPulse 2.8s ease-in-out infinite;
}
/* Centered banking-style header */
.forms-page-header--center .forms-page-header__inner{
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.forms-page-header--center .forms-page-header__icon{
  margin-bottom: 8px;
}

.forms-page-header--center .forms-page-header__title{
  text-align: center;
}

.forms-page-header--center .forms-page-header__subtitle{
  text-align: center;
  max-width: 520px;
}
/* ===== Banner Context Label (Banking Style) ===== */

.hero-context{
  position: absolute;
  left: 6%;
  bottom: 26%;
  z-index: 2;
}

.hero-context__label{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 16px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 500;
  letter-spacing: .2px;

  color: #0b2a4a;
  background: rgba(255,255,255,0.94);

  box-shadow: 0 8px 22px rgba(2,6,23,0.14);
  backdrop-filter: blur(6px);
}

/* Optional subtle divider line under banner */
.hero-context::after{
  content:"";
  display:block;
  width: 56px;
  height: 2px;
  margin-top: 10px;
  background: rgba(11,42,74,0.25);
  border-radius: 99px;
}

/* Mobile safety */
@media (max-width: 768px){
  .hero-context{
    left: 50%;
    bottom: 20%;
    transform: translateX(-50%);
    text-align: center;
  }
}
/* ===== Professional Page Banner (Banking Style) ===== */

.page-banner{
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #0b2a4a;
}

.page-banner__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11,42,74,0.75) 0%,
    rgba(11,42,74,0.55) 40%,
    rgba(11,42,74,0.25) 100%
  );
}

.page-banner__content{
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 520px;
  color: #ffffff;
}

.page-banner__title{
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.page-banner__subtitle{
  margin-top: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

/* Mobile */
@media (max-width: 768px){
  .page-banner{
    height: 200px;
  }
  .page-banner__content{
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 16px;
  }
}
