body p,
html p {
  font-weight: 400 !important;
}

.wd-content-layout {
  padding-block: 0px !important;
}

.nlf-text-logo {
  margin-left: -10px !important;
  width: auto;
  min-width: 150px;
}

.nlf-logo-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  line-height: 20px;
  vertical-align: middle;
  font-weight: 500;
  color: #1a5faf;
  letter-spacing: 0.1px;
}

.nlf-logo-sub {
  font-size: 1rem;
  color: #333;
}

.wd-dropdown-menu.wd-design-default {
  padding: 12px 0px !important;
  --wd-dropdown-width: 300px !important;
  z-index: 9999999 !important;
}
.wd-dropdown-menu, .wd-dropdown-menu .wd-dropdown .wd-entry-content{z-index: 99999999 !important;}

.wd-sub-menu li a {
  padding: 10px 20px !important;
}

.wd-sub-menu li.nlf-submenu-head a {
  display: block;
  padding: 7px 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #0F1F3D !important;
  background: #efeded;
  border-bottom: 1px solid #eee;
}

.menu-primary-menu li.current_page_item a,
.wd-dropdown-menu .wd-sub-menu li.current-menu-item a {
  color: #E8192C !important;
}

/* 1. Highlight the Active Parent Menu Item (e.g., Capital Markets) */
li.current-menu-parent>a.woodmart-nav-link,
li.current-menu-parent>a.woodmart-nav-link .nav-link-text {
  color: #E8192C !important;
}

/* 2. Highlight the Active Submenu Item (e.g., IPO & FPO Management) */
li.current-menu-item>a.woodmart-nav-link {
  color: #E8192C !important;
}

.modal-note {
  background: #fff8f0;
  border-left: 3px solid #e8192c;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #555;
  line-height: 1.7;
}

.modal-note p strong {
  color: #e8192c !important;
}

.nlf-sidebar-menu ul li {
  border-left: 2px solid #f4f4f4;
  padding: 0px;
}

.nlf-sidebar-menu ul li:hover {
  border-left: 2px solid #e8192c;
  padding: 0px;
}

/* 1. Use CSS Grid to perfectly control the 10px gap */
.offer-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  /* Sets exactly 10px between the cards */
  margin: 24px 0;
}

/* 2. Stack columns into 1 row on mobile devices */
@media (max-width: 768px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

/* 3. Remove the layout-breaking margin from WPBakery columns */
.offer-grid .wpb_column {
  width: 100% !important;
  margin: 0 !important;
}

/* 4. Style the cards */
.offer-card {
  background: #f8f8fa;
  border-left: 3px solid #e8192c;
  padding: 18px 20px;
  height: 100%;
  /* Ensures both cards match in height */
  box-sizing: border-box;
}



.offer-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #0f1f3d;
  margin-bottom: 6px;
}

.offer-card p {
  font-size: 14px;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

ul.nlf-service-process {
  width: auto;
  max-width: 900px !important;
}

ul.nlf-service-process li {
  padding: 10px 0 !important;
  border-bottom: 1px #f6f0f0 solid;
}

ul.nlf-service-process li span.list-content strong {
  font-size: 0.98rem;
  font-weight: 500;
  color: #0f1f3d;
  margin-bottom: 6px;
}

ul.nlf-service-process li span.wd-icon {
  width: 30px !important;
  height: 30px !important;
}

ul.nlf-service-process li span.wd-icon::before {
  font-size: 14px !important;
}


.nlf-call-to-action {
  width: 70% !important;
}

/* 1. Remove the 40px top padding from the main content area by default */
.main-page-wrapper .wd-content-layout {
  padding-top: 0 !important;
}

/* 2. Restore the 40px top padding ONLY when the Page Title is active/present */
.main-page-wrapper .wd-page-title+.wd-content-layout {
  padding-top: 40px !important;
}

.nlf-home-toptitle {
  font-size: 16px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.nlf-home-toptitle::before {
  padding-right: 10px;
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background-color: #e8192c;
  margin-right: 6px;
  vertical-align: middle;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid #e8192c;
  padding: 10px 32px;
  margin: 4px 0px;
  min-width: 190px;
  max-width: 300px;
  backdrop-filter: blur(4px);
}


.trust-item--sebi {
  font-size: .875rem;
  font-weight: 500;
  color: #0f1f3d;
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: #585858;
}

.trust-sebi-icon {
  width: 16px;
  height: 16px;
  fill: #e8192c;
  flex-shrink: 0;
}

.trust-sebi-reg {
  background: rgba(232, 25, 44, 0.08);
  color: #e8192c;
  border: 1px solid rgba(232, 25, 44, 0.2);
  font-size: .875rem;
  padding: 4px 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}

.nlf-trust-sebi-reg {
  max-width: 180px !important;
}

.section-eyebrow {
  align-items: left;
  font-weight: 600 !important;
  vertical-align: middle !important;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #aa111f;
}

.section-eyebrow::before {
  padding-right: 10px;
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background-color: #e8192c;
  margin-right: 6px;
  vertical-align: middle;
}

.sub-section-label,
.sub-section-label h4 {
  align-items: center !important;
  gap: 16px;
  font-family: 'DM Sans', sans-serif !important;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #565656;
  margin-bottom: 16px;
}

ul.nlf-sub-title {
  width: 390px;
  max-width: 390px;
}

.nlf-service-box {
  padding: 30px 28px;
  cursor: pointer;
  transition: background 0.25s;
  text-decoration: none;
  border: 1px solid #e9e9e9;
  display: block;
}


.nlf-service-box:hover {
  background: #0F1F3D !important;
}

.nlf-service-box p {
  font-weight: 400 !important;
}

.nlf-service-box .nlf-service-box-link {
  font-weight: 300 !important;
  text-transform: uppercase;
}

.nlf-service-box:hover h3,
.nlf-service-box:hover p strong {
  color: #fff !important;
}

.nlf-service-box:hover p {
  color: #e9e9e9 !important;
}

.copyrights-wrapper p {
  font-size: 12px !important;
  line-height: 16px;
  vertical-align: middle;
  font-weight: 300 !important;
}

.scrollToTop {
  bottom: 80px !important;
}

.nlf-alliance-box {
  padding: 20px 38px;
  margin: 0 !important;
  cursor: pointer;
  transition: background 0.25s;
  text-decoration: none;
  border: 1px solid #e9e9e9;
  background: #ffffff;
  display: block;
  text-align: center !important;
}



/* 1. Prevent double horizontal borders between WPBakery rows */
.nlf-second-div-services {
  margin-top: -1px !important;
  padding: 0;
  display: flex;
  /* Keeps WPBakery flex layout intact */
  background: #fafafa;
  z-index: 1;
}

/* 2. Remove WPBakery column spacing & overlap vertical borders */
.nlf-second-div-services .nlf-2nd-div-service-box {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: -1px !important;
  /* Pulls boxes 1px left to overlap borders */
  position: relative;
  z-index: 1;
}

/* 3. Apply your styles to the inner container for equal heights */
.nlf-second-div-services .nlf-2nd-div-service-box>.vc_column-inner {
  background: #fff;
  border: 1px solid #e9e9e9 !important;
  padding: 45px 35px !important;
  cursor: pointer;
  transition: background 0.25s ease;
  height: 100%;
}

/* 4. Bring hovered card to the front so its borders aren't hidden */
.nlf-second-div-services .nlf-2nd-div-service-box:hover {
  z-index: 2;
}

/* 5. Your Custom Hover Effects */
.nlf-second-div-services .nlf-2nd-div-service-box:hover>.vc_column-inner {
  background: #0f1f3d;
  /* Dark blue background */
}

.nlf-2nd-div-service-box:hover h3 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.nlf-2nd-div-service-box:hover p.vc_custom_heading strong {
  color: #fff !important;
}

.nlf-2nd-div-service-box:hover .wpb_text_column p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.nlf-2nd-div-service-box:hover .nlf-service-box-link {
  color: #fff !important;
  /* Makes the "Learn more ->" text white on hover */
}

.nlf-second-div-services .nlf-svc-01>.vc_column-inner,
.nlf-second-div-services .nlf-svc-02>.vc_column-inner,
.nlf-second-div-services .nlf-svc-03>.vc_column-inner {
  border-top: none !important;
}

.nlf-second-div-services .nlf-svc-01>.vc_column-inner,
.nlf-second-div-services .nlf-svc-04>.vc_column-inner,
.nlf-second-div-services .nlf-svc-07>.vc_column-inner {
  border-left: none !important;
}

.nlf-second-div-services .nlf-svc-03>.vc_column-inner,
.nlf-second-div-services .nlf-svc-06>.vc_column-inner,
.nlf-second-div-services .nlf-svc-09>.vc_column-inner {
  border-right: none !important;
}

.nlf-second-div-services .nlf-svc-07>.vc_column-inner,
.nlf-second-div-services .nlf-svc-08>.vc_column-inner,
.nlf-second-div-services .nlf-svc-09>.vc_column-inner {
  border-bottom: none !important;
}

/* 6. Mobile Responsiveness */
@media (max-width: 767px) {
  .nlf-second-div-services .nlf-2nd-div-service-box {
    margin-left: 0 !important;
    /* Reset horizontal overlap on mobile */
    margin-top: -1px !important;
    /* Overlap borders vertically when stacked */
  }

  .nlf-second-div-services .nlf-2nd-div-service-box>.vc_column-inner {
    padding: 30px 24px !important;
  }
}


.why-choose-nlf {
  display: block;
  background: rgba(255, 255, 255, 0.05);
}

.why-choose-nlf .why-choose-nlf-box>.vc_column-inner {
  background: rgba(255, 255, 255, 0.02);
  border-top: 2px solid #e8192c;
  padding: 30px 20px;
  margin: 0 2px;
}

.why-choose-nlf .why-choose-nlf-box p strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

.why-choose-nlf .why-choose-nlf-box p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
}

.ready-action-btn {
  max-width: 200px !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  vertical-align: middle;
}

.nlf-testimonial-slider {
  display: block;
}

.nlf-testimonial-slider .nlf-testimonial {
  background: #fff;
  max-width: 500px;
  padding: 25px 20px !important;
  margin: 0 3px !important;
  border-top: 3px solid #e8192c;
}


.nlf-testimonial .testimonial-content footer {
  font-size: 13.5px;
  font-weight: 500;
  color: #e8192c;
  display: flex;
  flex-wrap: wrap;
}

.nlf-testimonial .testimonial-content footer em {
  font-size: .875rem;
  color: #585858;
  margin-top: 2px;
  width: 100%;
}



.nlf-footer-contact-box {
  margin: 1px 0px;
  padding: 1px 0;
}

.nlf-footer-contact-box ul {
  margin: 20px 0px;
}

.nlf-footer-contact-box li span strong {
  font-size: 16px;
  font-weight: 300;
  color: #e8192c;
}

.nlf-footer-contact-box li span,
.nlf-footer-contact-box li span a {
  font-size: 14px;
  font-weight: 500;
  color: inherit;
}

.nlf-contact-box {
  margin: 20px 0px;
  padding: 10px 0;
}

.nlf-contact-box ul {
  margin: 20px 0px;
}

.nlf-contact-box li span strong {
  font-size: 16px;
  font-weight: 300;
  color: #e8192c;
}

.nlf-contact-box li span,
.nlf-contact-box li span a {
  font-size: 14px;
  font-weight: 500;
  color: inherit;
}




/* ========================================================
   NLF Corporate Flat Design - COMPLETE FINAL CSS
   ======================================================== */

/* --- 1. Container Setup --- */
.corporate-form-container {
  background: #ffffff !important;
  font-family: 'DM Sans', sans-serif !important;
  width: 100% !important;
  margin-bottom: 0 !important;
  position: relative !important;
  z-index: 99 !important;
}

.corporate-form-container .g-4 {
  --bs-gutter-y: 1.25rem;
  --bs-gutter-x: 1.25rem;
}

/* --- 2. Fix CF7 Auto-Formatting Gaps --- */
/* This hides the invisible <br> tags CF7 auto-generates between labels and fields */
.corporate-form-container .form-group br {
  display: none !important;
}

/* --- 3. Form Labels (Zero Gap, Premium Look) --- */
.corporate-form-container .form-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #555555 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 2px !important;
  /* Forces practically zero gap */
  display: block !important;
  /* Changed to block to ensure it sits above the field cleanly */
  width: fit-content !important;
  max-width: 100% !important;
  position: relative !important;
  z-index: 99 !important;
  pointer-events: none !important;
  /* Ensures clicks pass through directly to the field */
}

.corporate-form-container .text-danger {
  color: #e8192c !important;
}

/* --- 4. CF7 Wrapper & Clickability Fixes --- */
.corporate-form-container span.wpcf7-form-control-wrap {
  position: static !important;
  display: block !important;
  width: 100% !important;
  margin-top: 0 !important;
  /* Removes any extra wrapper margin */
}

/* --- 5. General Input Fields (Flat, Seamless Aesthetic) --- */
.corporate-form-container input.form-control,
.corporate-form-container select.form-select,
.corporate-form-container input.wpcf7-form-control:not([type="tel"]),
/* Exclude phone field from flat look */
.corporate-form-container select.wpcf7-form-control,
.corporate-form-container textarea.wpcf7-form-control {
  border: 1px solid #d6d5d5 !important;
  border-radius: 4px !important;
  padding: 0.85rem 1.2rem !important;
  font-size: 15px !important;
  background-color: #f4f6f8;
  color: #111111;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  width: 100% !important;
  height: 52px !important;
  line-height: 1.5 !important;
  display: block !important;
  position: relative !important;
  z-index: 9 !important;
  /* Overpowers any theme overlay */
  pointer-events: auto !important;
  /* Ensures it is editable */
  margin-top: 0 !important;
}

/* Textarea overrides */
.corporate-form-container textarea.form-control,
.corporate-form-container textarea.wpcf7-form-control {
  height: auto !important;
  min-height: 140px !important;
  resize: vertical !important;
}

/* Input Focus States */
.corporate-form-container input.wpcf7-form-control:focus,
.corporate-form-container select.wpcf7-form-control:focus,
.corporate-form-container textarea.wpcf7-form-control:focus {
  background-color: #ffffff;
  border: 1px solid #d93025 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  outline: none !important;
}

/* --- 6. Phone Dropdown Formatting --- */
.corporate-form-container .intl-tel-input,
.corporate-form-container .cpf-phone-wrapper {
  position: relative !important;
  z-index: 99 !important;
  width: 100% !important;
  display: block !important;
}

/* The white input box with gray border */
.corporate-form-container .intl-tel-input input.wpcf7-form-control {
  background-color: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
  color: #555555 !important;
  height: 52px !important;
  width: 100% !important;
  font-size: 15px !important;
  position: relative !important;
  z-index: 98 !important;
  /* Lower than flag container */
  pointer-events: auto !important;
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
  padding-right: 1.2rem !important;
  padding-left: 90px !important;
  /* Space for the flag and dial code */
}

/* The gray flag container */
.corporate-form-container .intl-tel-input .flag-container {
  z-index: 100000 !important;
  pointer-events: auto !important;
}

.corporate-form-container .intl-tel-input .selected-flag {
  background-color: #f0f0f0 !important;
  border-right: 1px solid #e0e0e0 !important;
  border-radius: 4px 0 0 4px !important;
  padding: 0 12px !important;
  display: table !important;
  /* Ensures vertical centering */
  height: 100% !important;
}

/* Country code text formatting (+91) */
.corporate-form-container .intl-tel-input .selected-dial-code {
  color: #666666 !important;
  margin-left: 6px !important;
  display: table-cell !important;
  vertical-align: middle !important;
}

/* Phone input focus state */
.corporate-form-container .intl-tel-input input.wpcf7-form-control:focus {
  border-color: #d93025 !important;
}

/* --- 7. Form Divider & Footer --- */
.corporate-form-container .form-divider {
  border: 0 !important;
  border-top: 1px solid #eeeeee !important;
  margin-top: 0.5rem !important;
}

.corporate-form-container .form-footer-area {
  background-color: #ffffff !important;
  padding-bottom: 0 !important;
}

.corporate-form-container .recaptcha-wrapper {
  min-height: 78px !important;
  display: block !important;
  overflow: visible !important;
  border: none !important;
}

/* --- 8. Submit Button --- */
.corporate-form-container .btn-corporate.btn-red {
  background-color: #e8192c !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  padding: 16px 40px !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  box-shadow: 0 4px 10px rgba(232, 25, 44, 0.2) !important;
  /* Subtle red shadow */
  min-width: 220px !important;
  position: relative !important;
  z-index: 99999 !important;
}

.corporate-form-container .btn-corporate.btn-red:hover {
  background-color: #0F1F3D !important;
  color: #ffffff !important;
  box-shadow: 0 6px 15px rgba(15, 31, 61, 0.3) !important;
  /* Subtle dark blue shadow */
  transform: translateY(-2px) !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .corporate-form-container .btn-corporate.btn-red {
    width: 100% !important;
  }
}

/* --- Placeholder Styling --- */
.corporate-form-container .form-control::placeholder,
.corporate-form-container input.wpcf7-form-control::placeholder,
.corporate-form-container textarea.wpcf7-form-control::placeholder {
  color: #9ba4b5 !important;
  /* Clean gray color */
  font-size: 13px !important;
  /* Smaller font size */
  opacity: 1 !important;
  /* Ensures consistent color across all browsers like Firefox */
  font-weight: 400 !important;
  /* Keeps the placeholder text normal/un-bolded */
}

/* Specific fix for WebKit browsers (Chrome, Safari, Edge) */
.corporate-form-container input.wpcf7-form-control::-webkit-input-placeholder,
.corporate-form-container textarea.wpcf7-form-control::-webkit-input-placeholder {
  color: #9ba4b5 !important;
  font-size: 13px !important;
}

/* Specific fix for Mozilla Firefox */
.corporate-form-container input.wpcf7-form-control::-moz-placeholder,
.corporate-form-container textarea.wpcf7-form-control::-moz-placeholder {
  color: #9ba4b5 !important;
  font-size: 13px !important;
  opacity: 1 !important;
}

.vc_section:has(.corporate-form-container),
.vc_row:has(.corporate-form-container) {
  position: relative !important;
}


.nlf-about-content p {
  font-size: 16px !important;
  color: #0f1f3d;
  line-height: 1.5;
}

.dark-list-item ul li::marker {
  color: #e8192c;
  background: #e8192c;
}

.nlf-team-member-box {
  background: #f9fcff;
  border: 1px #ccc solid;
  margin: 10px 0;
  /* 0 X offset | 0 Y offset | 20px blur | brand color with 50% opacity */
  box-shadow: 0px 0px 10px rgba(136, 143, 147, 0.5);
  /* Optional border to match the glow */
  border: 1px solid rgba(86, 97, 104, 0.3);
}

.nlf-team-member-box h3.team-name img.team-photo {
  width: 160px !important;
  height: 190px !important;
  object-fit: cover;
  object-position: center top;
  background: #fff;
  padding: 0 10px 10px 0;
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  /* The soft shadow */
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.2);
}

.nlf-team-member-box .team-creds {
  font-size: 12.5px;
  color: #aa111f;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.nlf-team-member-box .team-role {
  font-size: .875rem;
  color: #585858;
  margin-bottom: 16px;
  font-style: italic;
}

.nlf-team-member-box .team-bio p {
  font-size: 14px;
  color: #585858;
  line-height: 20px;
  padding: 8px 0px;
  margin: 0px;

}

.nlf-modal-box {
  background: #fff;
  width: 100%;
}

.nlf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 40px;
}

.nlf-modal-box .modal-note {
  padding: 10px !important;
  max-width: 750px !important;
}


.nlf-modal-body {
  padding: 10px 20px 10px 50px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nlf-modal-body p {
  font-size: 14px;
  color: #0f1f3d;
  line-height: 20px;
  padding: 2px 0;
  margin: 0;

}

.nlf-modal-list ul {
  list-style: disc;
  padding-left: 30px !important;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nlf-modal-list ul li {
  font-size: 14px;
  color: #333;
  line-height: 16px;
  padding: 2px 0;
  margin: 1px 0;
}

.nlf-modal-list ul li::marker {
  font-weight: 700
}

.nlf-modal-box .modal-note strong {
  color: #e8192c !important;
}