
/**
 * Top side background image
 */
.top-banner-background {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 120px;
}

.top-banner-background h1 {
  font-size: 65px !important;
}

.top-banner-background p {
  font-size: 20px !important;
}
/* ── TABLET (max 991px) ── */
@media (max-width: 991.98px) {
  .top-banner-background {
    min-height: 45vh;
    margin-top: 70px;
  }

  .top-banner-background h1 {
    font-size: 48px !important;
    line-height: 1.2;
  }

  .top-banner-background p {
    font-size: 18px !important;
  }
}

/* ── MOBILE (max 575px) ── */
@media (max-width: 575.98px) {
  .top-banner-background {
    min-height: 40vh;
    margin-top: 75px;
    background-position: center center;
    padding: 30px 20px;
  }

  .top-banner-background h1 {
    font-size: 2.2rem !important; /* ~35px — fits in 1–2 lines max */
    line-height: 1.25;
    text-align: center;
    margin-bottom: 12px;
  }

  .top-banner-background p {
    font-size: 15px !important;
    text-align: center;
    line-height: 1.5;
    padding: 0 10px;
  }
}
.custom-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.custom-tabs a {
  border: none;
  padding: 10px 10px;
  border-radius: 5px;
  background: #eee;
  color: #333;
  font-size: 14px;
  transition: 0.3s;
  text-decoration: none;
}

.custom-tabs a.active {
  background: var(--euphoria-blue);
  color: #fff;
}

.custom-tabs a:hover {
  background: var(--euphoria-blue);
  color: #fff;
}

/* Content Section */
.content-section {
  padding: 40px 0;
}

.corporate-content-box {
  display: none;
}

.corporate-content-box.active {
  display: block;
}

.illustration {
  max-width: 100%;
}

.text-content {
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.5;
}

/**
 * IN Bound Section Start
 */

 /* ── Partnership Section ── */
  .corporate-tab-section {
      background: #ffffff;
      padding: 80px 0;
      overflow: hidden;
      position: relative;
  }

  /* ── Nav Wrapper ── */
  .formation-nav-wrapper {
      display: flex;
      align-items: center;
      border: 1.5px solid #e2e5f0;
      border-radius: 50px;
      padding: 5px;
      background: #fff;
      width: fit-content;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
  }

  .formation-nav-wrapper::-webkit-scrollbar {
      display: none;
  }

  /* ── Active Label Pill ── */
  .nav-active-pill {
      display: inline-flex;
      align-items: center;
      background: #25356F;
      color: #fff;
      font-weight: 700;
      font-size: 0.88rem;
      border-radius: 50px;
      padding: 0.55rem 1.35rem;
      white-space: nowrap;
      flex-shrink: 0;
      user-select: none;
      text-decoration: none;
  }

  /* ── Divider ── */
  .nav-sep {
      width: 1.5px;
      min-width: 1.5px;
      height: 18px;
      background: #e2e5f0;
      flex-shrink: 0;
      margin: 0 2px;
  }

  /* ── Nav Links ── */
  .nav-link-item {
      display: inline-flex;
      align-items: center;
      color: #2c2f4a;
      font-size: 0.84rem;
      font-weight: 500;
      padding: 0.45rem 0.9rem;
      white-space: nowrap;
      text-decoration: none;
      border-radius: 50px;
      flex-shrink: 0;
      cursor: pointer;
  }

  .nav-link-item.nav-active-pill{
      color: #fff;
  }

  .nav-link-item:hover {
      color: #25356F;
      background: #f0f2fa;
  }

  .nav-link-item.active-link {
      color: #25356F;
      font-weight: 700;
  }

  /* ── Section ── */
  .india-section {
      padding: 60px 0;
  }

  /* ── Image Column ── */
  .img-col {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .img-col img {
      width: 100%;
      max-width: 480px;
      height: auto;
      object-fit: cover;
      display: block;
      /* fade out right edge into white */
      -webkit-mask-image: linear-gradient(to right, black 55%, transparent 100%);
      mask-image: linear-gradient(to right, black 55%, transparent 100%);
  }

  /* ── Text Column ── */
  .text-col {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-left: 1.5rem;
  }

  .text-col p {
      font-size: 18px;
      color: #3a3d52;
      line-height: 1.8;
      font-family: "Poppins", sans-serif;
      margin-bottom: 1.2rem;
      font-weight: 400;
  }

  .text-col p:last-child {
      margin-bottom: 0;
  }

  /* ── Responsive ── */
  @media (max-width: 768px) {

      /* 1. Adjust main section padding */
      .corporate-tab-section {
          padding: 40px 0;
      }

      /* 2. Force the nav wrapper to allow horizontal scrolling */
      .formation-nav-wrapper {
          width: 100%;
          /* Take full width of screen */
          border-radius: 25px;
          /* Slightly tighter radius for mobile */
          padding: 4px;
          -webkit-overflow-scrolling: touch;
          /* Smooth scrolling for iOS */
      }

      /* 3. Scale down navigation elements */
      .nav-active-pill {
          font-size: 0.75rem;
          padding: 0.45rem 1rem;
      }

      .nav-link-item {
          font-size: 0.72rem;
          padding: 0.4rem 0.7rem;
      }

      .nav-sep {
          height: 14px;
          margin: 0 1px;
      }

      /* 4. Fix Image Column for Mobile */
      .img-col {
          margin-bottom: 20px;
      }

      .img-col img {
          /* Change mask from right-side fade to bottom-side fade for vertical layout */
          -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
          max-width: 80%;
          /* Don't let the corporate image overwhelm the text */
      }

      /* 5. Adjust Text Column for Readability */
      .text-col {
          text-align: center;
          /* Center text for better mobile balance */
      }

      .text-col p {
          font-size: 0.9rem;
          line-height: 1.6;
          margin-bottom: 1rem;
      }
  }

  /* Extra small screens fix for the nav bar */
  @media (max-width: 480px) {
      .formation-nav-wrapper {
          margin-left: -10px;
          margin-right: -10px;
          width: calc(100% + 20px);
          border-radius: 0;
          border-left: none;
          border-right: none;
      }
  }

/**
 * In Bound Section End
 */