/* breadcrumb */
#organogram {
    padding: 0px 0px;
}

#organogram .breadcrumb {
    font-size: 16px;
    color: #666;
    margin: 50px 0;
}

#organogram .breadcrumb a {
    text-decoration: none;
    color: #86868b;
}

#organogram .breadcrumb strong {
    text-decoration: none;
    color: #23559b;
}

#organogram .breadcrumb a:hover {
    text-decoration: underline;
}

#organogram .breadcrumb span {
    margin: 0 5px;
}

/* commonbanner */
#common-blue-banner .our-story-section {
    background-color: #23559b;
    padding: 24px 80px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

#common-blue-banner .title {
    color: white;
    font-size: 32px !important;
    font-weight: 600;
    flex: 1;
    text-align: left;
    letter-spacing: -0.02em;
    margin-bottom: 0 !important;
}

#common-blue-banner .logo-container .logo-icon img {
    background-color: #d0bb68;
    border-radius: 20px;
    padding: 10px;
}

.tab-system {
    display: flex;
    min-height: 80vh;
}

.main-tabs-sidebar {
    width: 300px;
    background-color: #f6f6f6;
    padding: 0;
    overflow-x: auto;
}

.main-tab {
    width: 100%;
    padding: 20px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: #858687;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #dee2e6;
}

.main-tab:hover {
    background-color: #e9ecef;
}

.main-tab.active {
    background-color: #f6f6f6;
    color: #23559b;
    font-weight: 600;
    border-bottom: 2px solid #23559b;
}

.content-area {
    margin-left: 28px;
    flex: 1;
    overflow-x: auto;
    padding: 12px;
}

.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

/* Sub Tab Header */
.sub-tab-header {
    background-color: #f6f6f6;
    padding: 20px;
}

.sub-tabs {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.sub-tab {
    border-bottom: 2px solid #cfcfcf;
    padding: 12px 20px;
    font-size: 18px;
    cursor: pointer;
    line-height: 24px;
    font-weight: 400;
    color: #858687;
    transition: all .3s ease;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    min-width: 156px;
}

.sub-tab.active {
    color: #000;
    font-weight: 600;
    background: #d0bb68;
    border-bottom-color: #000;
}

/* Sub Content */
.sub-content {
    display: none;
    padding: 20px;
}

.sub-content.active {
    display: block;
    padding: 20px;
}

.sub-content h2 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.sub-content h3 {
    color: #000;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px
}

.sub-content p {
    line-height: 24px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.sub-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.sub-content li {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .tab-system {
        flex-direction: column-reverse;
    }

    .main-tabs-sidebar {
        width: 100%;
        order: 2;
    }

    .content-area {
        order: 1;
        margin-left: 0;
    }

    .sub-tab-header {
        padding: 20px;
    }

    .sub-tabs {
        flex-direction: row;
        gap: 10px;
    }
}

.about-us {
    margin-bottom: 80px;
}

/* Additional mobile accordion behavior */
@media (max-width:991px) {
    .sub-content {
        margin-top: 10px;
    }

    .about-us {
        margin-bottom: 40px;
    }

    .main-tabs-sidebar {
        display: flex;
        gap: 10px;
    }

    .main-tab,
    .sub-tab {
        font-size: 18px;
    }
    .main-tabs-sidebar {
        gap: 20px;
    }
    .content-area h3{
        margin-top: 30px;
    }
}

/* Introduction Content Styling */
.intro-content {
    max-width: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #23559B;
    font-weight: 700;
    font-size: 20px !important;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 20px;
    color: #333;
}

.intro-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.intro-content li {
    margin-bottom: 8px;
    line-height: 24px;
    font-size: 16px;
}

@media screen and (max-width:550px) {
    .sub-tab-header {
        min-width: 250px;
        overflow-x: scroll;
        padding: 20px 0;
    }

    .sub-tab {
        min-width: 130px;
    }

    .sub-content.active {
        padding: 0;
    }
    .contact-details {
        width: auto !important;
    }
    .main-tabs-sidebar::-webkit-scrollbar {
        display: none;
    }
    .main-tab {
        min-width: 130px;
        text-align: center;
    }
}

.vision-img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: contain;
    margin-bottom: 20px;
}


/* Table  */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    padding: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
    padding: 18px 24px;
    text-align: left;
    font-size: 16px;
    white-space: nowrap;
}

.responsive-table thead {
    background-color: #CFCFCF;
}

.responsive-table th {
    color: #23559B;
    font-weight: 600;
    font-size: 16px;
}

.responsive-table tbody tr:last-child {
    border-bottom: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .responsive-table {
        min-width: unset;
        font-size: 14px;
    }

    .responsive-table th,
    .responsive-table td {
        padding: 10px 12px;
        font-size: 16px;
    }

    .table-container {
        border-width: 2px;
        border-radius: 8px;
    }
}

/* pagination style changes */
.pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 20px;
    justify-content: flex-end;
}

.page-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: white;
    color: #003B8E;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background-color: #e6ecff;
}

.page-btn.active {
    background-color: #1f56a6;
    color: white;
    border: none;
}

.page-btn {
    width: 48px;
    height: 48px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: white;
    color: #003B8E;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.details-conference-workshops {
    display: flex;
    align-items: flex-start;
}

.details-conference-workshops p {
    margin-left: 20px;
    max-width: 600px;
    margin-bottom: 20px;
}

.contact-details {
    background-color: #EBF3FF;
    padding: 10px 20px;
    width: max-content;
    margin-bottom: 20px;
}

.contact-details a {
    color: #23559b;
    text-decoration: none;
    margin-left: 20px;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details {
    display: flex;
}

.agenda-table-container thead {
    background-color: #EBF3FF;
}

.cards-container {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
}

.profile-conatiner {
    display: flex;
    gap: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-media-profile {
    gap: 20px;
    display: flex;
}

.profile-name {
    font-size: 20px !important;
    color: #000 !important;
    font-size: 500 !important;
    margin-bottom: 10px !important;
}

.profile-designation {
    color: #6C89B2 !important;
}

.profile-image {
    border-radius: 20px;
    object-fit: contain;
}

.profile-conatiner {
    background-color: #fff;
    border-radius: 20px;
}

.profile-detial {
    padding-block: 20px;
}

@media screen and (max-width:991px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:767px) {
    .profile-conatiner {
        flex-direction: column;
        gap: 0;
    }

    .profile-detial {
        padding: 20px;
    }

   .profile-image {
        object-fit: cover;
        width: 100%;
        height: auto;
    }

}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.gallery-grid-item {
    border-radius: 10px;
    text-align: center;
}
.gallery-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}
.gallery-starts {
    margin-bottom: 40px;
}
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-starts h3 { 
        font-size: 18px;
    }
}
.apply-btn {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    background: transparent;
    color: #383939;
    padding: 10px 40px;
    font-weight: 600;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    border: 1px solid #23559b;
    transition: color 0.3s ease-in-out;
    z-index: 1;
  }
  
  /* Hover background (wipe effect) */
  .apply-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #23559b; /* Hover background */
    transition: width 0.3s ease-in-out;
    border-radius: 25px;
    z-index: -1;
  }
  
  /* Base background (initial) */
  .apply-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d0bb68; /* Initial gold background */
    z-index: -2;
    border-radius: 25px;
  }
  
  .apply-btn:hover {
    color: #ffffff; /* Text color on hover */
  }
  
  .apply-btn:hover::before {
    width: 100%; /* Animate background fill */
  }
  
  
/* Modal */
#career-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.65));
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

#career-modal .modal-content {
  background: #fff;
  width: 800px;
  margin: auto;
  padding: 0px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

#career-modal .close-btn {
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #003366;
  cursor: pointer;
}

/* Form Header */
.form-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f2f2f2;
  padding: 12px 16px;
  border-radius: 0;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  font-size: 16px;
  margin-bottom: 24px;
}

.form-header .role {
  font-weight: bold;
  color: #23559B;
}

/* Form Styles */
#career-form {
  padding: 12px 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  margin-bottom: 20px;
}

.form-row.full-width {
  flex-direction: column;
}

.form-row.center {
  justify-content: center;
  margin-top: 20px;
}

.form-row div {
  flex: 1;
}

#career-modal label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 10px;
}

#career-modal input[type="text"],
#career-modal input[type="email"],
#career-modal input[type="tel"],
#career-modal input[type="file"] {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  border: 2px solid #cfcfcf;
  color: #757575;
  outline: none;
  appearance: none;
}

#career-modal input[type="text"]:focus,
#career-modal input[type="email"]:focus,
#career-modal input[type="tel"]:focus,
#career-modal input[type="file"]:focus {
  border-color: #23559b;
  outline: none;
}

#career-modal small {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
  display: block;
}

#career-modal button[type="submit"] {
  background-color: #D0BB68;
  color: #000;
  border: 1px solid #23559B;
  border-radius: 24px;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#career-modal button:hover {
  background-color: #c1a954;
}

/* Custom File Upload */
#career-modal .custom-file-upload {
  position: relative;
  display: inline-block;
  margin-top: 0px;
}

#career-modal .custom-file-upload input[type="file"] {
  display: none;
}

#career-modal .custom-file-upload label {
  display: inline-block;
  padding: 12px 24px;
  background-color: #fff;
  color: #1d1d1d;
  border: 2px solid #cfcfcf;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  min-width: 140px;
}

#career-modal .custom-file-upload .upload-icon {
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}

#career-modal .upload-wrapper small {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
  padding-left: 4px;
}

.noscroll {
  overflow: hidden;
}
.job-actions {
    width: max-content;
    margin: auto;
    margin-top: 40px;
}
/* Responsive Design */
@media (max-width: 768px) {
  #common-blue-banner .our-story-section {
    padding: 20px 24px;
    gap: 16px;
  }

  #common-blue-banner .title {
    font-size: 28px !important;
  }

  .apply-btn {
    font-size: 1rem;
  }

  #career .common-tab {
    overflow-x: auto;
    display: flex;
    white-space: nowrap;
    cursor: pointer;
  }

  #career .common-tab .tabs::-webkit-scrollbar {
    display: none;
  }

  #career .tab.active {
    font-size: 18px;
    list-style: none;
    font-weight: 600;
    padding: 20px;
    margin-right: 0;
    background: #D0BB68;
    border-bottom: 2px solid #000;
    color: #000;
  }

  #career .common-tab li {
    color: #858687;
    border-bottom: 2px solid #CFCFCF;
    padding: 20px;
    margin-right: 0px;
    width: max-content;
  }

  #career .bread-top {
    padding: 50px 12px;
  }

  #career-modal .modal-content {
    width: 100% !important;
    height: 550px;
    overflow-y: auto;
  }
}

@media (max-width: 550px) {
  #common-blue-banner .our-story-section {
    padding: 16px 20px;
    gap: 12px;
  }

  #common-blue-banner .title {
    font-size: 24px !important;
  }

  .form-row {
    flex-direction: row;
  }

  .form-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row div {
    width: 100%;
  }

    #career-form {
    padding: 10px;
  }

  .form-row {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 8px;
  }

  .form-header {
    margin-bottom: 20px;
  }

  #career-modal label {
    margin-bottom: 4px;
    font-size: 12px;
  }
}

.tab-career h2 {
  color: #23559B;
  margin-bottom: 40px;
  font-size: 28px;
}
.mt-html {
  margin-top: 25px;
}/*image Modal background */
.image-modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 60px; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8);
  }
  
  /* Image inside modal */
  .image-modal .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    animation: zoomIn 0.3s ease;
  }
  
  /* Caption text */
  #caption {
    text-align: center;
    color: #ccc;
    padding: 10px;
    font-size: 16px;
  }
  
  /* Close button */
  .image-modal .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }
  .image-modal .close:hover {
    color: #bbb;
  }
  
  /* Animation */
  @keyframes zoomIn {
    from {transform: scale(0.7);}
    to {transform: scale(1);}
  }
  
  /* Thumbnail hover */
  .preview-thumb {
    cursor: pointer;
    transition: transform 0.2s;
  }
  .preview-thumb:hover {
    transform: scale(1.05);
  }
  .date-job-actions {
    display: flex;
    justify-content: space-between;
}