/* 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;
  font-weight: 600;
  flex: 1;
  text-align: left;
  letter-spacing: -0.02em;
}

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

/* .governance */
#organogram-tab {
  font-family: sans-serif;
}

/* Desktop layout */
#organogram-tab .tab-container {
  display: flex;
  background-color: #000000;
}

#organogram-tab .tabs {
  display: flex;
  flex-direction: column;
  width: 200px;
  background: #000000;
  border-right: 1px solid transparent;
}

#organogram-tab .tab-block {
  display: none;
  /* hidden in desktop */
}

#organogram-tab .tab {
  padding: 15px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
  background: #000000;
  color: #fff;
}

#organogram-tab .tab.active {
  background: transparent;
}

#organogram-tab .tab-content {
  flex: 1;
  padding: 20px;
}

#organogram-tab .tab-pane {
  display: none;
}

#organogram-tab .tab-pane.active {
  display: block;
  padding: 12px 25px 12px 25px;
}

.hidden {
  display: none;
}

.back-button {
  margin-top: 10px;
}

/* organogram */

#organogram-chart .scroll-wrapper {
  overflow-x: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

#organogram-chart .org-container {
  display: inline-block;
  min-width: 600px;
  max-width: 100%;
  text-align: center;
}

#organogram-chart .org-box {
  background: #e0efff;
  padding: 15px 25px;
  border-radius: 25px;
  display: inline-block;
  margin: 0;
  font-weight: bold;
  font-size: 18px;
  color: #004080;
  position: relative;
  border: 1px solid #d0bb68;
}

#organogram-chart .org-box.with-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding-left: 5px;
  padding: 0 15px 0px 0px;
  border-radius: 30px;
  position: relative;
}

#organogram-chart .org-box img,
#organogram-chart .team-member img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #d0bb68;
}

#organogram-chart .team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
  margin-top: 0px;
  background: linear-gradient(145deg, #f6ebbf 20%, #ffffff 60%, #e4efff 100%);
  border-radius: 20px;
  padding: 30px 20px;
  border: 1px solid #D0BB68;
}

#organogram-chart .team-member {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #e4efff;
  padding: 0px;
  border-radius: 30px;
  border: 1px solid #d0bb68;
  position: relative;
}

#organogram-chart .team-member div strong {
  color: #23559b;
  text-align: left;
}

#organogram-chart .team-member div {
  color: #383939;
  text-align: left;
}

#organogram-chart .empty {
  visibility: hidden;
}

/* Arrows */
#organogram-chart .arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

#organogram-chart .gg-arrow-down {
  position: relative;
  display: block;
  width: 22px;
}

#organogram-chart .gg-arrow-down::before {
  content: "";
  position: absolute;
  width: 2px;
  background: #23559b;
  left: 10px;
  top: 0;
}

#organogram-chart .gg-arrow-down::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #23559b;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  left: 6px;
  bottom: 0;
}

/* Heights */
#organogram-chart .arrow-sm .gg-arrow-down {
  height: 30px;
}

#organogram-chart .arrow-sm .gg-arrow-down::before {
  height: 20px;
}

#organogram-chart .arrow-md .gg-arrow-down {
  height: 50px;
}

#organogram-chart .arrow-md .gg-arrow-down::before {
  height: 40px;
}

#organogram-chart .arrow-lg .gg-arrow-down {
  height: 70px;
}

#organogram-chart .arrow-lg .gg-arrow-down::before {
  height: 60px;
}

#organogram-tab .tab-container .tabs h2 {
  color: #fff;
  font-size: 37px;
  font-weight: 700;
  margin-bottom: 25px;
}

#organogram-chart .org-box.with-image .ins-org {
  display: none;
  /* hidden by default */
  position: absolute;
  left: 315px;
  padding: 15px;
  top: 0px;
}

#organogram-chart .org-box.with-image:hover .ins-org,
#organogram-chart .org-box.with-image.active .ins-org {
  display: block;
}

#view-card {
  background-color: #eaf1ff;
  padding: 2rem;
  width: 300px;
  z-index: 1;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
}

#view-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #d8bc59;
  object-fit: cover;
  margin-bottom: 1rem;
}

#view-card p {
  color: #333;
  font-size: 14px;
  margin-bottom: 1.5rem;
}

.view-btn {
  background-color: #d8bc59;
  color: #000;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.view-btn:hover {
  background-color: #c4a845;
}

.view-btn-mob {
  background-color: #d8bc59;
  color: #000;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.view-btn-mob:hover {
  background-color: #c4a845;
}

.faint-link {
  position: absolute;
  top: -20px;
  left: 10px;
  color: #ccc;
  font-size: 14px;
}

#organogram-chart .team-member .ins-org {
  position: absolute;
  display: none;
}

/* For odd-numbered team members on hover */
/* For odd-numbered team members on hover (except last 4) */
#organogram-chart .team-member:nth-child(odd):not(:nth-last-child(-n + 4)):hover .ins-org {
  left: -50px;
  top: -100px;
  display: block;
}

/* For even-numbered team members on hover (except last 4) */
#organogram-chart .team-member:nth-child(even):not(:nth-last-child(-n + 4)):hover .ins-org {
  right: -50px;
  top: -100px;
  display: block;
}

/* For last 4 team members (both odd and even) on hover */
#organogram-chart .team-member:nth-last-child(-n + 4):hover .ins-org {
  top: -250px;
  display: block;
}

#organogram-chart .team-member:nth-last-child(-n + 4):nth-child(odd):hover .ins-org {
  left: -50px;
}

#organogram-chart .team-member:nth-last-child(-n + 4):nth-child(even):hover .ins-org {
  right: -50px;
}

#organogram-chart {
  background-color: #000000;
  border-radius: 15px;
  padding: 30px;
}

/* organogram */
/* Responsive design */
@media (max-width: 768px) {
  #common-blue-banner .our-story-section {
    padding: 20px 30px !important;
    gap: 16px;
  }

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

  /* governance responsive */
  #organogram-tab .tab-container {
    display: none;
    /* hide desktop view */
  }

  #organogram-tab .tab-block {
    display: block;
    border-bottom: 1px solid #ccc;
  }

  #organogram-tab .tab {
    width: 100%;
    background: none;
    color: #858687;
    border-bottom: 1px solid #cfcfcf;
  }

  #organogram-tab .tab-content {
    padding: 10px 15px;
  }

  .teamember-details {
    display: none;
  }

  .content-column-poem {
    display: inline-block !important;
  }
}

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

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

/* commonbanner */
/* ourstory */
#ourStory {
  padding: 50px 0px;
  background-color: #000000;
}

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

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

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

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

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

#ourStory .main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#ourStory .left-section,
.right-section {
  flex: 1;
  min-width: 300px;
}

#ourStory .left-section {
  order: 1;
}

#ourStory .right-section {
  background: #000000;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  order: 2;
}

#ourStory .left-section img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 15px;
}

#ourStory .left-section h3,
#ourStory .right-section h3 {
  color: #fff;
  margin: 15px 0px;
  font-size: 20px;
  font-weight: 600;
}

#ourStory .left-section p,
#ourStory .right-section p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  margin: 15px 0;
}

#ourStory ul li {
  color: #fff;
  list-style: none;
  font-size: 16px;
  font-weight: 400;
  margin: 15px 0;
}

/* ourstory */
/* visionMision */
section {
  background-color: #000000;
}

#visionMision .tab-heading {
  padding: 50px 0;
}

#visionMision .active[data-tab-content] {
  display: block;
  color: #000000;
}

#visionMision .tab.active {
  font-size: 18px;
  color: #23559b;
  font-weight: 600;
  border-color: #23559b;
  padding: 12px 25px 12px 25px;
  cursor: pointer;
}

#visionMision [data-tab-content] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

#visionMision .active[data-tab-content] {
  visibility: visible;
  opacity: 1;
  height: auto;
}

#visionMision .common-tab {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#visionMision .common-tab li {
  border-bottom: 2px solid #cfcfcf;
  padding: 12px 25px 12px 25px;
  font-size: 18px;
  cursor: pointer;
  line-height: 25px;
  font-weight: 400;
  color: #fff;
}

/* vision */
.vision-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  overflow: hidden;
  width: 100%;
  margin-bottom: 50px;
}

.vision-card-song {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  overflow: hidden;
  width: 100%;
  margin-bottom: 50px;
}

.image-column {
  flex: 1;
  min-height: 250px;
}

.image-column img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}

.image-column iframe {
  border-radius: 15px;
}

.content-column {
  flex: 3;
  padding: 40px;
  background: #000000;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0);
}

.content-column-poem {
  flex: 3;
  display: flex;
  gap: 50px;
  padding: 40px;
  background: #000000;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0);
}

.vision-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.vision-subtitle {
  font-size: 16px;
  color: #fff;
  margin-bottom: 24px;
  font-weight: 700;
}

.vision-description {
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}

.vision-description-song {
  margin: 0 0 20px 0;
  color: #2d2525;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}

.vision-object li {
  color: #2d2525;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.governance {
  margin-bottom: 50px;
}

#governance {
  /* margin-bottom: 60px; */
}

.governance-card {
  display: flex;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  width: 100%;
  margin-bottom: 50px;
}

.governance-description {
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 15px;
}

/* cards css */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: auto;
  margin-bottom: 40px;
}

.header-lead {
  color: #23559b;
  margin: 20px 0px;
  font-size: 37px;
  font-weight: 700;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.top-line {
  height: 4px;
  background: #d0bb68;
  /* Blue line, adjust as needed */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
  flex-grow: 1;
}

.card-body h3 {
  margin: 0 0 5px 0;
  font-size: 20px;
  color: #2d2525;
  font-weight: 500;
}

.card-body .position {
  color: #6c89b2;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.card-body p {
  color: #333;
  font-size: 18px;
  font-weight: 400;
}

.card-one,
.card-two {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.card-bottom {
  margin-bottom: 50px;
}

/* cards css */
/* visionmision */
/* medias */
@media (max-width: 1199px) {
  #common-blue-banner .our-story-section {
    padding: 24px 35px;
  }
}

@media (max-width: 991px) {
  #common-blue-banner .our-story-section {
    padding: 24px 78px;
  }
}

@media (max-width: 767px) {
  #ourStory .main-content {
    flex-direction: column;
  }

  #ourStory .right-section {
    order: 1;
    /* Comes first on mobile */
    background: transparent;
    box-shadow: none;
  }

  #ourStory .left-section {
    order: 2;
  }

  .vision-card,
  .vision-card-song,
  .governance-card {
    align-items: center;
    flex-direction: column;
  }

  .image-column {
    flex: none;
    width: 100%;
    min-height: 200px;
  }

  .content-column {
    flex: none;
    padding: 30px 25px;
  }

  .content-column-poem {
    flex: none;
    height: 480px;
    padding: 30px 25px;
    overflow-y: scroll;
  }

  .vision-title {
    font-size: 1.7rem;
  }

  .vision-subtitle {
    font-size: 1rem;
  }

  .card-container h2 {
    font-size: 20px;
    font-weight: 700;
  }

  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-one,
  .card-two {
    grid-template-columns: repeat(4, 1fr);
  }

  #organogram-chart .scroll-wrapper,
  #organogram-chart .scroll-wrapper-tab2 {
    overflow-x: auto;
    justify-content: flex-start;
  }

  #organogram-chart .org-container {
    padding: 20px;
  }

  #organogram-chart .org-box.with-image .ins-org {
    left: -98px;
  }
}

@media (max-width: 499px) {
  #visionMision .common-tab {
    overflow-x: auto;
    /* Enables horizontal scrolling */
    white-space: nowrap;
    /* Prevents items from wrapping */
    gap: 15px;
  }

  /* Hide scrollbar (optional) */
  #visionMision .common-tab::-webkit-scrollbar {
    display: none;
  }

  #visionMision .tab.active {
    background-color: transparent;
    border-bottom: 2px solid #23559b;
    color: #23559b;
  }

  .common-tab li {
    color: #1f2b6c;
    border-bottom: 2px solid #1f2b6c;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 0;
  }
}

/* medias */
.back-button {
  margin-bottom: 30px;
  position: relative;
  top: 20px;
  left: 20px;
  background: #D0BB68;
  color: #000000;
  border: none;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  z-index: 10;
}

.back-button:hover {
  background: #23559B;
  transform: translateX(-3px);
}

.back-button i {
  margin-right: 5px;
}

.header {
  /* background: linear-gradient(135deg, #3498db, #2c3e50); */
  color: #000000;
  padding: 30px;
  text-align: start;
}

.header-doc {
  display: inline-flex;
  gap: 15px;
}

.header-doc img {
  width: 127px;
  height: 127px;
  object-fit: cover;
  border-radius: 30px;
}

.header h2 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #000000;
}

.header p {
  color: #23559B;
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 10px;
  margin: 15px 0;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: #23559B;
  position: relative;
  margin-right: 15px;
}

.tag:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: -10px;
}

.tag:last-child {
  margin-right: 0;
}

.languages {
  display: block;
  align-items: start;
  margin-top: 15px;
  font-size: 14px;
}

.languages h3 {
  font-size: 14px;
  font-weight: 500;
  color: #23559B;
}

.languages img {
  margin-right: 8px;
}

.languages span {
  font-size: 14px;
  font-weight: 500;
  margin-left: 5px;
}

.content-details {
  padding: 0 30px 30px 30px;
}

.content-details h3 {
  margin: 10px 0px;
  font-size: 15px;
  color: #383939;
}

.content-details p {
  margin: 2px 0px;
  font-size: 14px;
  color: #383939;
}

.content-details li {
  margin: 2px 0px;
  font-size: 14px;
  color: #383939;
  list-style: none;
}

/* 
h2 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 22px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

h3 {
  color: #3498db;
  margin: 20px 0 10px;
  font-size: 18px;
}

p {
  margin-bottom: 15px;
}

ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 5px;
} */

@media (max-width: 768px) {
  /* .container {
    margin: 15px;
  } */

  .header {
    padding: 20px;
  }

  .content {
    padding: 20px;
  }
}