
/* ===== Career Page ===== */ /* ===== Career Page ===== */
/* ===== Career Page ===== */ /* ===== Career Page ===== */
/* Wrapper for the whole Career Page section */
/* Section Title */
/* Section Title */
/* Section wrapper aligned with website content width */
.tender-section {
    max-width: 1200px;       /* MATCH YOUR WEBSITE CONTENT WIDTH */
    margin: 40px auto 0;     /* TOP SPACE added */
    padding: 0 20px;
}

/* Section Title */
.tender-title {
    font-size: 26px;
    font-weight: 600;
    color: #1b2a3b;
    border-left: 4px solid #b45a10;
    padding-left: 10px;
    margin-bottom: 20px;
}

/* Scrollable Table Wrapper */
.tender-table-wrapper {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Table Base */
.tender-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1100px;  /* Keeps layout aligned and tidy */
    font-size: 15px;
}

/* Header */
.tender-table thead tr {
    background: #003d6f;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.tender-table th,
.tender-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
    font-weight: 550;
}

/* Even Row Background */
.tender-table tbody tr:nth-child(even) {
    background: #f8f9fc;
}

.sl-col {
    width: 60px;
}

.date-col {
    width: 150px;
    text-align: left;   /* Text left aligned */
    padding-left: 20px; /* Optional: adjust spacing for perfect look */
}


.download-col {
    width: 180px;
    text-align: left; 
    text-align: center;
}

/* Download Button */
.btn-download {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    background: #8b2c00;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 12px;
    transition: 0.2s;
}

.btn-download:hover {
    background: #b3004d;
}




/* ===== Board of Directors===== */ /* ===== == Board of Directors===== ===== */
/* =====Board of Directors ===== */ /* ===== == Board of Directors===== ===== */


.profile-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Card */
.profile-card {
  position: relative;
  display: flex;
  gap: 25px;
  padding: 28px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  overflow: hidden;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Green Fold Corner */
.profile-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #692a05, #e95c0a);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

/* White Cross Line inside */
.profile-card::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 30px;
  height: 30px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(45deg);
}





/* Image */
.profile-img img {
  width: 100px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid #e6ecf5;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Info */
.profile-info {
  flex: 1;
}

.profile-name {
  font-size: var(--font-lg);
  color: var(--primary-color);
  margin-bottom: 4px;
  font-weight: 700;
}

.profile-designation {
  font-size: var(--font-md);
  color: #692a05;
  font-weight: 600;
  margin-bottom: 12px;
}

.profile-detail {
  font-size: var(--font-md);
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.6;
}

.profile-detail strong {
  color: #000;
}

/* Officer Service / Cadre */
.profile-service {
  font-size: var(--font-sm);
  color: #555;
  font-style: italic;
  margin-bottom: 12px;
}


/* ==================================
   RESPONSIVE
================================== */
@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    text-align: center;
  }

  .profile-img img {
    margin: auto;
  }

  .profile-info {
    text-align: left;
  }
}



/* ==================================
  Act and Rules Page /    Act and Rules Page /   Act and Rules Page  
================================== */

.master-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

/* Card */
.master-card {
  
  font-family: inherit;                 /* inherit from body/master */
  font-size: calc(var(--font-md) - 1px);
  font-weight: 700;
  line-height: 1.5;  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 20px 18px;
  min-height: 100px;

  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f3dcc0 100%
  );

  border-radius: 10px;
  border: 1px solid #e1c2a0;

  /* FONT SETTINGS (MASTER SAFE) */
  font-size: calc(var(--font-md) - 1px);  /* slightly smaller */
  font-weight: 700;                      /* bold */
  line-height: 1.5;

  color: var(--text-dark);
  text-decoration: none;

  box-shadow: 0 5px 14px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

/* Hover */
.master-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);

  background: linear-gradient(
    to bottom,
    #692a05 0%,
    #8b3a0a 100%
  );

  color: #ffffff;
}


/* ===============================
   MMDR CATEGORY HEADING
================================ */
.mmdr-category {
  display: inline-block;
  padding: 10px 22px;
  margin-bottom: 1px;

  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;

  border-radius: 6px;
  border-left: 4px solid #c9a24d; /* golden touch */
}


/* Accessibility */
.master-card:focus {
  outline: 3px solid var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
  .master-card {
    font-size: var(--font-sm);
    min-height: auto;
  }
}




/* ==================================
  MMDR Page/   MMDR Page /   MMDR Page
================================== */


/* ==================================
   MMDR LIST DESIGN
================================== */

/* ==================================
   MMDR LIST
================================== */

.mmdr-list {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==================================
   MMDR ITEM (FULL BOX)
================================== */

.mmdr-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;

  padding: 16px 18px;

  background: linear-gradient(
    135deg,
    rgba(90, 60, 30, 0.9),
    rgba(40, 25, 15, 0.96)
  );

  border-radius: 10px;
  border: 1px solid rgba(255, 215, 160, 0.35);

  color: #f8ead6;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mmdr-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

/* ==================================
   NUMBER
================================== */

.mmdr-number {
  min-width: 30px;
  font-size: 18px;
  font-weight: 700;
  color: #ffd9a0;
}

/* ==================================
   TEXT
================================== */

.mmdr-text {
  font-size: var(--font-md);
  font-weight: 600;
  line-height: 1.6;
  color: #f8ead6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* ==================================
   FULL BOX CLICKABLE (LINK)
================================== */

.mmdr-item-link {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.mmdr-item-link:visited,
.mmdr-item-link:hover,
.mmdr-item-link:active {
  color: inherit;
  text-decoration: none;
}

.mmdr-item-link:hover {
  cursor: pointer;
}

/* ==================================
   BACK HEADING LINK
================================== */

.section-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #3b2a18;
  font-weight: 600;
  text-decoration: none;

  transition: color 0.3s ease, transform 0.3s ease;
}

.section-back-link:visited,
.section-back-link:hover,
.section-back-link:active {
  text-decoration: none;
}

.section-back-link:hover {
  color: #a36a2c;
  transform: translateX(-3px);
}



/* ==================================
           Photo Gallery
================================== */
/* ==================================
           Photo Gallery
================================== */
/* ==================================
           Photo Gallery
================================== */


/* ===== Gallery ===== */
.gallery-tabs{
    margin-bottom:30px;
}

.gallery-tabs button{
    padding:8px 20px;
    border:none;
    border-radius:25px;
    margin:5px;
    cursor:pointer;
    background:#e0e0e0;
    font-weight:600;
    transition:0.3s;
}

.gallery-tabs button.active,
.gallery-tabs button:hover{
    background:#003366;
    color:#fff;
}

/* Grid */
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:20px;
}

.gallery-item{
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 6px 15px rgba(0,0,0,0.15);
    cursor:pointer;
}

.gallery-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:0.4s;
}

.gallery-item:hover img{
    transform:scale(1.1);
}

/* ===== Lightbox ===== */
.lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.95);
    z-index:9999;
    align-items:center;
    justify-content:center;
}

.lightbox img{
    max-width:90vw;
    max-height:90vh;
    object-fit:contain;
}

.lightbox button{
    position:absolute;
    background:rgba(255,255,255,0.25);
    border:none;
    color:#fff;
    font-size:40px;
    cursor:pointer;
    padding:10px 16px;
}

.lightbox button:hover{
    background:rgba(255,255,255,0.45);
}

.lightbox .close{
    top:20px;
    right:25px;
    font-size:45px;
}

.lightbox .prev{ left:20px; }
.lightbox .next{ right:20px; }






/* ===== Master_Page===== */ /* ===== == Master_Page===== ===== */
/* ===== Master_Page===== */ /* ===== == Master_Page===== ===== */
/* ===== Master_Page===== */ /* ===== == Master_Page===== ===== */
/* ===== Master_Page===== */ /* ===== == Master_Page===== ===== */
/* ===== Master_Page===== */ /* ===== == Master_Page===== ===== */




/* ===== Board of Directors===== */ /* ===== == Board of Directors===== ===== */
/* =====Board of Directors ===== */ /* ===== == Board of Directors===== ===== */


.profile-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Card */
.profile-card {
  position: relative;
  display: flex;
  gap: 25px;
  padding: 28px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  overflow: hidden;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Green Fold Corner */
.profile-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #692a05, #e95c0a);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

/* White Cross Line inside */
.profile-card::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 30px;
  height: 30px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(45deg);
}



/* Image */
.profile-img img {
  width: 140px;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid #e6ecf5;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Info */
.profile-info {
  flex: 1;
}

.profile-name {
  font-size: var(--font-lg);
  color: var(--primary-color);
  margin-bottom: 4px;
  font-weight: 700;
}

.profile-designation {
  font-size: var(--font-md);
  color: #692a05;
  font-weight: 600;
  margin-bottom: 12px;
}

.profile-detail {
  font-size: var(--font-md);
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.6;
}

.profile-detail strong {
  color: #000;
}

/* Officer Service / Cadre */
.profile-service {
  font-size: var(--font-sm);
  color: #555;
  font-style: italic;
  margin-bottom: 12px;
}


/* ==================================
   RESPONSIVE
================================== */
@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    text-align: center;
  }

  .profile-img img {
    margin: auto;
  }

  .profile-info {
    text-align: left;
  }
}






/* ==================================
   MASTER PAGE GRID
================================== */

/* ==================================
   MASTER PAGE GRID
================================== */

.master-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

/* Card */
.master-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 20px 18px;
  min-height: 100px;

  background: linear-gradient(
    to bottom,
    #fff8ee 0%,
    #f3dcc0 100%
  );

  border-radius: 10px;
  border: 1px solid #e1c2a0;

  /* FONT SETTINGS (MASTER SAFE) */
  font-size: calc(var(--font-md) - 1px);  /* slightly smaller */
  font-weight: 700;                      /* bold */
  line-height: 1.5;

  color: var(--text-dark);
  text-decoration: none;

  box-shadow: 0 5px 14px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

/* Hover */
.master-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);

  background: linear-gradient(
    to bottom,
    #692a05 0%,
    #8b3a0a 100%
  );

  color: #ffffff;
}

/* Accessibility */
.master-card:focus {
  outline: 3px solid var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
  .master-card {
    font-size: var(--font-sm);
    min-height: auto;
  }
}
