
    .container {
      max-width: 100%;
      width: 100%;
      margin-bottom: 0px;
      margin-top: 30px;
      padding: 0 60px;
    }
    .for-padding{
   padding: 10px 60px 20px 60px !important; 
   }
    .latest-updates {
  padding: 0 !important;
}

   /* Section container */
/* Section container */
.tender-header {
  margin-bottom: 25px;
}

/* Back button */
.back-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #f7f8fd;
  border: .7px solid #343434;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
}
.back-btn i {
  margin-right: 8px;
}

/* Breadcrumb */
.breadcrumb-nav {
  font-size: 18px;
  color: #000;
}

.breadcrumb-nav span {
  margin: 0 3px;
  color: #000;
}

/* Page Title */
.page-title {
  color: #4C39DD;
  font-size: 25px;
  font-weight: 700;
  margin: 0;
}

/* Days left pill */
.days-left {
     background: #4c39dd;
    color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 20px;
  border-radius: 20px;
}
/* Tender description */
/* Clamp description */
.tender-description p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tender-description p.clamped {
  -webkit-line-clamp: 2;   /* show only 2 lines */
  max-height: 3.4em;       /* fallback for some browsers */
}

.tender-description p.expanded {
  -webkit-line-clamp: unset;
  max-height: none;
}

/* Read More/Less link */
/* .read-toggle {
  color: #4C39DD;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 1px;
  display: inline-block;
  margin-top: -5px;
} */
.read-toggle:hover {
  text-decoration: underline;
}
.read-toggle {
  color: #4C39DD;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 6px;
  display: block;       /* make it block so we can align */
  text-align: right; 
  margin-top: -4px;   /* push text to right */
}
.read-toggle:hover {
  text-decoration: underline;
}
.similar-box {
  background: #EFF5FE;
  border-radius: 0px;
  padding: 25px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  height: 100%;
  transition: transform 0.3s ease;
}


.myclass-forced{
  border-radius: 0px !important;
}
.similar-box strong {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  display: block;
}

.similar-box a {
  color: #4C39DD; /* purple accent */
  font-weight: 500;
  text-decoration: none;
  /* width: 60% !important;
  max-width: 60% !important; */
}

.similar-box p {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
  line-height: 1.5;
}

.similar-box .location {
  margin-top: 12px;
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
}

.similar-box:hover {
  transform: translateY(-5px);
}

.tabs-wrapper {
  position: relative; /* This defines the boundaries for sticky */
  
}



.tabs-nav {
  position: sticky;
  top: 80px; /* adjust to your header height */
  background: #fff;
  z-index: 100;
  display: flex !important;
  gap: 15px;
  padding-bottom: 10px;
  padding-top: 15px;
 
}



.tab-btn {
  padding: 6px 20px;
  border: none;
  border-radius: 4px;
  background: #f5f5f7;
  font-size: 16px;
  border: 1px solid #000;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: 0.2s;
}

.tab-btn:hover {
  background: #4C39DD;
  color: #fff;
  border: none;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.tab-btn.active {
  background: #4C39DD;
  color: #fff;
  border: none;
}

/* Tender info grid */
.tender-info {
  display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 4fr));
    gap: 40px;

}

.info-card {
  background: #fff;
  border: 1px solid #848194;
  border-radius: 10px;
  padding: 10px 25px;
  display: flex;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: wrap;
    height: 120px;
        justify-content: center;
}

.info-card h2 {
  font-size: 18px;
  font-weight: 500;
  color: #4a4a4a;
  margin-bottom: 4px;
}
.info-card-address {
  display: block;
  
}

.info-card p {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #333;
  line-height: 1.2;
}

/* ---------- Additional styles: Tender Documents & Disclaimer ---------- */

/* Section titles */
.section-title {
  font-size: 25px;
  color: #4C39DD;
  font-weight: 700;
  margin: 0 0 25px;
}

.tender-documents{
     background-color: #EFF5FE;
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 40px;
    padding-bottom: 40px;

}
/* Docs grid */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  row-gap: 20px;    /* vertical spacing */
  column-gap: 45px; /* horizontal spacing */
}

/* Single document item */
.doc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 0px;
  padding: 12px 14px;
  border: 1px solid #eee;
  box-shadow: 0 0 0 rgba(0,0,0,0); /* subtle - consistent with screenshot */
}

/* left part */
.doc-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* icon square */
.doc-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
  border-radius: 10px;
}

/* color variations */
.doc-icon.pdf { background: linear-gradient(180deg,#ff6b6b,#e94b4b); }
.doc-icon.doc { background: linear-gradient(180deg,#6dd7b9,#3cbf9b); }

/* meta text */
.doc-meta { min-width: 0; }
.doc-title {
  font-size: 14px;
  font-weight: 600;
  color: #2e2e2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.doc-size {
  font-size: 12px;
  color: #8d8d8d;
  margin-top: 4px;
}

/* download button on right */
.doc-download {
  background: transparent;
  border: none;
  font-size: 16px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: #6b46f6;
  transition: background .15s, transform .08s;
}
.doc-download:hover { background: rgba(111,66,255,0.06); transform: translateY(-2px); }

/* Disclaimer */
.disclaimer-section {
  background: #fff;

  padding: 0px;
  
}
.disclaimer-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.disclaimer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: #444;
  line-height: 1.5;
  font-size: 16px;
}
/* .disclaimer-list li i {
  color: #4C39DD;
  margin-top: 4px;
  min-width: 18px;
  text-align: center;
} */

/* refine apply button look consistent with header color */
.apply-btn {
  background: #4C39DD;
  color: #fff;
  font-weight: 00;
  font-size: 16px;
  padding: 8px 018px;
  border-radius: 6px;
  border: none;
  transition: transform .12s, box-shadow .12s;
  box-shadow: 0 6px 20px rgba(159,112,253,0.12);
}
.apply-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(159,112,253,0.15); }

/* Responsive tweaks */
@media (max-width: 600px) {
  .doc-meta .doc-title { max-width: 120px; font-size: 13px; }
  .doc-icon { width: 44px; height: 44px; font-size: 18px; }
  .docs-grid { gap: 10px; }
  /* .tender-info { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } */
}

.for-flex-column{
  display: flex;
  flex-direction: column;
}
.card-heading-width{
  width: 77%;
}



/* responsiveness  */
/* -------------------- 📱 Mobile (small iPhones → large Androids) -------------------- */
@media (max-width: 767px) {
  .container {
    padding: 0 20px;
    margin-top: 20px;
  }

  .for-padding {
    padding: 20px 20px 20px 20px !important;
  }

  .page-title {
    font-size: 20px;
    /* text-align: center; */
    text-align: center !important;
  }

  .breadcrumb-nav {
    font-size: 10px;
    /* text-align: center; */
  }

  .days-left {
    font-size: 13px;
    padding: 6px 14px;
    /* width: 200px; */
  }
  .teneder-header-breadcrumb {
     margin-bottom: 20px !important;
  }
  .tender-header{
    margin-bottom: 20px;
  }
  
  .tender-description p {
    font-size: 14px;
    line-height: 1.6;
  }

  .read-toggle{
    font-size: 12px;
  }

  .tabs-nav {
    gap: 20px;
    /* flex-wrap: wrap; */
    /* justify-content: center; */
    top: 60px;
  }
  .tabs-nav {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
  scrollbar-width: none; /* Firefox */
}

.tabs-nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

#overview{
   padding-top: 0px !important;
}

  .tab-btn {
    font-size: 14px;
    padding: 3px 14px;
            line-height: 100%;
  }

  .tender-info {
    /* grid-template-columns: 1fr;  */
     grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 5px !important;
  }

  .info-card {
    height: auto;
    padding: 0;
    flex-wrap: nowrap; 
  height: auto;        /* allow card to grow with content */
  white-space: normal; 
  overflow-wrap: break-word;
  word-break: break-word;
  border: 0px ;
  justify-content: flex-start
  }

  .info-card h6{
    font-size: 14px;
  }
  .info-card p{
    font-size: 14px;
  }

  .section-title {
    font-size: 20px;
    text-align: center;
  }

  .tender-documents {
    padding: 20px;
  }

  .docs-grid {
    grid-template-columns: 1fr; /* one per row */
    gap: 15px;
  }

  .doc-title {
    font-size: 13px;
    max-width: 140px;
  }

  .similar-box {
    padding: 20px;
  }

  .similar-box strong {
    font-size: 16px;
  }

  .similar-box p {
    font-size: 13px;
  }

  .apply-btn {
    width: 100%; /* full-width button */
    font-size: 15px;
    padding: 10px;
  }

  .card-heading-width {
    width: 100%; /* take full width on mobile */
  }

  #similar-tenders{
    margin: 0 20px 20px !important;
  }
  .tender-documents{
    margin-top: 10px !important;
  }

  .similar-updates-header{
    margin-bottom: 20px !important;
  }
  #apply-tender{
    padding-top: 0px !important;
  }

  #similar-tenders{
    margin-bottom: 25px  !important;
  }

/* added */
  .back-btn {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
  }
  .back-btn i {
    margin-right: 6px;
    font-size: 12px;
  }

  /* Generic top CTA / Apply button used near the header */
  .top-action-btn,
  .apply-btn {
    display: inline-block;
    width: auto;
    min-width: 120px;
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(159,112,253,0.12);
    text-align: center;
  }

  .tender-heading-flex{ 
  flex-direction: column;
  gap:20px ;
}
}

/* -------------------- 📲 Tablet (800px – 1024px) -------------------- */
@media (min-width: 800px) and (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .for-padding {
    padding: 15px 30px !important;
  }

  .page-title {
    font-size: 22px;
   
    
  }

  .breadcrumb-nav {
    font-size: 16px;
  }

  .tabs-nav {
    gap: 15px;
    top: 70px;
  }

  .tab-btn {
    font-size: 15px;
    padding: 6px 16px;
  }

  .tender-info {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
  }

  .info-card {
    height: auto;
    padding: 15px 20px;
  }

  .docs-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
  }

  .doc-title {
    max-width: 180px;
  }

  .similar-box {
    padding: 20px 25px;
  }

  .similar-box strong {
    font-size: 17px;
  }

  .apply-btn {
    font-size: 15px;
    padding: 10px 18px;
  }

  .card-heading-width {
    width: 90%;
  }

  /* added */

  .back-btn {
    font-size: 15px;
    padding: 7px 14px;
    border-radius: 6px;
  }
  .back-btn i { margin-right: 8px; }

  .top-action-btn,
  .apply-btn {
    padding: 9px 16px;
    font-size: 15px;
    min-width: 140px;
  }

}










