/* ==========================================================================
   NLF CONSULTANCY - COMPREHENSIVE RESPONSIVE STYLES (ALL PAGES)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TABLET VIEW (Max Width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  /* GLOBAL CONTAINER ADJUSTMENTS */
  .nlf-call-to-action {
    width: 90% !important;
  }

  /* LOGO TEXT ADJUSTMENTS */
  .nlf-logo-name {
    font-size: 1.1rem !important;
  }

  .nlf-logo-sub {
    font-size: 0.9rem !important;
  }

  ul.nlf-sub-title {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* HOME PAGE: Grid Adjustments */
  .nlf-second-div-services .nlf-2nd-div-service-box>.vc_column-inner {
    padding: 35px 20px !important;
  }

  /* ABOUT PAGE: Team Member Adjustments */
  .nlf-team-member-box h3.team-name img.team-photo {
    width: 120px !important;
    height: 140px !important;
  }
}

/* --------------------------------------------------------------------------
   2. MOBILE VIEW - LARGE (Max Width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {



  .wd-side-hidden {
    z-index: 999999 !important;
  }

  .wd-header-mobile-nav a span.wd-tools-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.98rem;
    line-height: 20px;
    vertical-align: middle;
    font-weight: 500;
    color: #0d233d;
    letter-spacing: 0.1px;
  }

  ul.mobile-pages-menu li,
  ul.mobile-pages-menu li a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 20px;
    vertical-align: middle;
    font-weight: 500;
    color: #0d233d;
    letter-spacing: 0.1px;
  }


  /* GLOBAL CONTAINER & ALIGNMENT */
  .nlf-call-to-action {
    width: 100% !important;
  }

  /* LOGO TEXT ADJUSTMENTS */
  .nlf-logo-name {
    font-size: 1rem !important;
    line-height: 18px !important;
  }

  .nlf-logo-sub {
    font-size: 0.85rem !important;
  }

  /* GLOBAL TYPOGRAPHY SCALING */
  .nlf-home-toptitle {
    font-size: 14px !important;
    letter-spacing: 1.5px !important;
  }

  .section-eyebrow {
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
  }

  .ready-action-btn {
    font-size: 16px !important;
    max-width: 100% !important;
  }

  .nlf-about-content p {
    font-size: 15px !important;
  }

  /* HOME PAGE: Top Bar & Trust Badges */
  .hero-stat {
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px !important;
  }

  .trust-item--sebi,
  .trust-item {
    font-size: 0.8rem !important;
    flex-wrap: wrap;
  }

  .nlf-trust-sebi-reg {
    max-width: 100% !important;
    font-size: 0.8rem !important;
    padding: 6px 10px !important;
  }

  /* HOME PAGE: Service Grid Overlaps Reset */
  .nlf-second-div-services {
    flex-direction: column !important;
  }

  .nlf-second-div-services .nlf-2nd-div-service-box {
    margin-left: 0 !important;
    margin-top: -1px !important;
  }

  /* ABOUT PAGE: Team Members */
  .nlf-team-member-box {
    text-align: center;
  }

  .nlf-team-member-box h3.team-name img.team-photo {
    width: 100px !important;
    height: 120px !important;
    float: none !important;
    display: block !important;
    margin: 0 auto 10px auto !important;
    border-right: none !important;
    border-bottom: 1px solid #e6e6e6 !important;
    padding: 0 0 10px 0 !important;
  }

  /* SERVICES (IPO/FPO) PAGE: Modal Padding Resets */
  .nlf-modal-header {
    padding: 15px 20px !important;
    flex-direction: column;
    align-items: flex-start;
  }

  .nlf-modal-body {
    padding: 15px 20px !important;
  }

  /* CONTACT US & FORMS: Form Container Resets */
  .corporate-form-container input.form-control,
  .corporate-form-container select.form-select,
  .corporate-form-container input.wpcf7-form-control:not([type="tel"]),
  .corporate-form-container select.wpcf7-form-control {
    padding: 0.75rem 1rem !important;
    height: 48px !important;
    font-size: 14px !important;
  }

  .corporate-form-container .intl-tel-input input.wpcf7-form-control {
    height: 48px !important;
    font-size: 14px !important;
    padding-left: 80px !important;
    /* Adjust for flag */
  }
}

/* --------------------------------------------------------------------------
   3. MOBILE VIEW - SMALL (Max Width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

  /* GLOBAL TYPOGRAPHY */
  .nlf-home-toptitle {
    font-size: 12px !important;
  }

  /* LOGO TEXT ADJUSTMENTS */

  .nlf-text-logo {
    margin-left: -10px !important;
    width: auto;
    min-width: 200px;
  }

  .nlf-logo-name {
    font-size: 1.2rem !important;
    line-height: 16px !important;
  }

  .nlf-logo-sub {
    font-size: 0.75rem !important;
  }

  .wd-side-hidden {
    z-index: 999999 !important;
  }

  .wd-header-mobile-nav a span.wd-tools-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.98rem;
    line-height: 20px;
    vertical-align: middle;
    font-weight: 500;
    color: #0d233d;
    letter-spacing: 0.1px;
  }

  ul.mobile-pages-menu li,
  ul.mobile-pages-menu li a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 20px;
    vertical-align: middle;
    font-weight: 500;
    color: #0d233d;
    letter-spacing: 0.1px;
  }

  .section-eyebrow {
    font-size: 12px !important;
    letter-spacing: 1px !important;
  }

  .offer-card h4 {
    font-size: 1rem !important;
  }

  .nlf-about-content p {
    font-size: 14px !important;
  }

  /* SERVICES PAGE: Process Lists */
  ul.nlf-service-process li {
    padding: 8px 0 !important;
  }

  ul.nlf-service-process li span.list-content strong {
    font-size: 0.9rem !important;
  }

  /* HOME PAGE: Service Boxes */
  .nlf-service-box {
    padding: 20px 15px !important;
  }

  /* TESTIMONIALS */
  .nlf-testimonial-slider .nlf-testimonial {
    padding: 15px !important;
  }
}