﻿:root {
  --tab-width: 18vw;
  --content-width: calc(100vw - calc(var(--tab-width) + 1vw));
}

.body-container {
  height: fit-content;
  width: 100vw;
}

/* Media queries for smaller screens */
@media (max-width: 768px) {
  .heading-container {
    font-size: 2.5rem !important; /* Smaller font size for tablets */
  }

  .text-body-container {
    font-size: 1rem !important; /* Smaller font size for tablets */
    padding-right: 2.5rem !important;
  }

  .my-company {
    font-size: 40px !important  ;
  }
  #company {
    padding-left: 0rem !important;
  }
}

@media (max-width: 576px) {
  .heading-container {
    font-size: 2rem !important; /* Smaller font size for mobile */
  }

  .text-body-container {
    font-size: 0.9rem !important; /* Smaller font size for mobile */
    padding-right: 2.5rem !important;
  }

  .my-company {
    font-size: 30px !important;
  }
  #company {
    padding-left: 0rem !important;
  }
}
.top-img-overlay {
  position: absolute;
}
.top-img {
  width: 100%; /* Ensure the image takes the full width */
  height: auto; /* Maintain aspect ratio by default */
}

#mancom {
  max-height: 100vh;
  overflow-y: auto;
}

.achiv-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008641;
  height: 200px;
}
.achiv-heading h2 {
  font-family: Inter !important;
  font-weight: 800 !important;
  font-size: 50px !important;
}
.ach-mini-card-text {
  text-align: justify;
}

.top-img-div.hidden {
  display: none !important; /* Hidden when the 'hidden' class is applied */
}

.my-company {
  font-size: 50px;
}
.overlay_0 {
  left: 1vw; /* Adjusted to use viewport width for responsiveness */
  bottom: 1vh; /* Adjusted to use viewport height for responsiveness */
  padding-left: 2rem;
  border-radius: 15px;
  background: rgba(234, 240, 244, 0.7);
  height: 12vh; /* Use viewport height for responsive height */
  width: 40vw; /* Use viewport width for responsive width */
}

.name-overlay {
  color: orange;
  font-weight: 800;
  font-size: 35px;
  height: 35px;
}

.company-overlay {
  color: green;
  font-weight: 800;
  font-size: 35px;
  white-space: nowrap !important;
}

.tabs-container {
  height: 100vh;

  width: var(--tab-width);
}

.tab-content {
  max-height: 100vh;
  overflow-y: auto;
  width: 100%;
}

.more-text {
  display: none; /* Hide additional content by default */
}

.read-more-btn {
  color: #007bff;
  cursor: pointer;
  text-decoration: none;
}

.read-more-btn:hover {
  text-decoration: underline;
}

.nav-pills-custom {
  background-color: #038443;
}

.nav-link-custom {
  color: white;
  height: 10%;
  width: 100%;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative; /* Necessary to position the border */
  transition: all 0.5s ease;
}
.nav-link-custom::after {
  content: "";
  position: absolute;
  bottom: 0; /* Keep the border at the bottom */
  right: 0; /* Start the border from the left */
  width: 80%; /* Make the border 80% of the width */
  height: 2px; /* Border thickness */
  background-color: white; /* Border color */
}

.my-nav-tabs {
  background-color: #f1f1f1;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
}
.my-nav-link {
  background-color: #d9d9d9; /* Default grey background */
  color: black;
  margin: 5px;
  width: 145px;
  height: 59px;
  font-size: 24px;
  font-family: inter-regular, serif;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
  border: 0px;
}
.my-nav-link.active,
.my-nav-link:focus,
.my-nav-link:hover {
  background-color: green !important; /* Change color to green on click */
  color: white !important;
}
.nav-link-custom:hover {
  color: rgb(255, 132, 0);
}

.nav-link-custom .tab-link-caption {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.nav-link-custom.text-transition .tab-link-caption {
  animation: textSlideUp 0.6s forwards;
}
s .nav-link-custom.active {
  color: rgb(255, 132, 0);
}

.nav-link-custom.active > .tab-link-caption {
  width: 80%;
  height: 65%;
  background-color: white;
  color: rgb(255, 132, 0);
  border-right: 6px solid rgb(255, 132, 0);
  margin-left: 20%;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  transition: 0.2s ease all;
}

.read-more-button {
  color: white;
  height: 12.5%;
  width: 80%;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tab-tag {
  text-decoration: none !important;
  color: white;
}
.tab-tag:hover {
  color: rgb(255, 132, 0);
}

.tab-content-container {
  height: 100vh;
  /*    border: 2px solid aqua;*/
}

.strategy-section-text {
  overflow: auto;
  height: 100%;
}

.mission-list {
  line-height: 150%;
}
.mission-list::marker {
  color: green;
}

.mancom-container {
  width: 40vw;
}

.mancom-card-container {
  width: calc(var(--content-width) - 10%);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  height: 40vh; /* Initial height */
  transition: 0.2s all ease;
}

.mancom-card-container.expanded {
  height: auto; /* Adjust height to fit content */
  padding-top: 20px;
  padding-bottom: 20px;
}

.mancom-section {
  overflow-y: auto;
}

.mancom-img-container {
  background-image: url("../assets/bg-img/mancom-card-bg.jpg");
  background-size: cover;
  height: auto;
}

.more-text {
  /*    border-top: 2px solid rgb(128, 128, 128, 0.39);*/
  width: 95%;
}

.mancom-img-circle {
  border-radius: 50%;
  border: 3px solid #f59120;
  height: 190px;
  width: 190px;
}
.mancom-img {
  height: 180px;
  width: 180px;
}

.mancom-info-container {
  height: 90%;
}

.mancom-designation {
  color: #f59120;
}

.more-text {
  display: none; /* Initially hidden */
  text-align: justify;
  padding-right: 20px;
}

.mancom-card-container.expanded .more-text {
  display: block; /* Show content when expanded */
}

.content {
  transition: 0.2s all ease;
}

.default-tab-content {
  height: 420px;
}
@media (max-width: 768px) {
  .my-ach-mini-card {
    height: 80% !important;
    width: 80% !important;
    margin-bottom: 20px !important;
    margin-left: 0 !important;
  }
}

.ach-image-container {
  position: relative;
  display: inline-block;
  padding: 20px;
}
.my-ach-card-container {
  height: 100%;
}
.my-ach-mini-card {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  margin: 12px;
  /* Responsive dimensions */
  height: 420px;
  width: 410px;
}
.ach-text {
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  text-align: center;
}

.ach-text p {
  margin: 0;
  font-weight: 700;
  font-size: 24px;
  font-family: inter-regular;
}

.ach-logo {
  max-width: 80px;
}
.ach-nav-button {
  width: 15%;
  background-color: #038443 !important;
  color: #fff;
}

.ach-nav-button.active {
  background-color: #fff !important;
  color: #038443;
}

.ach-content-parent {
  height: 95%;
  width: 100%;
}

.ach-card-container {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 93vh;
}

.ach-card-line {
  border: none; /* Remove default border */
  border-top: 3px solid rgb(0, 0, 0, 0.81); /* 3px solid grey line */
  margin: 20px 0; /* Add some top and bottom margin for spacing */
  width: 50%;
}

.ach-mini-card {
  height: 25%;
}

.ach-nav {
  height: 20% !important;
}

@media only screen and (max-width: 600px) {
  #mission-heading {
    text-align: center;
  }

  #mission-text-2 {
    padding-left: 0px !important;
  }
}

@media (max-width: 1200px) {
  .achiv-heading h2 {
    font-size: 40px !important;
  }
  .achiv-heading {
    height: 17vh !important;
  }
  .top-img {
    height: 19vh !important; /* Increase height for medium screens */
  }
  .name-overlay {
    font-size: 30px !important;
  }
  .company-overlay {
    font-size: 30px !important;
    white-space: nowrap !important;
  }
  .overlay_0 {
    width: 46vw !important;
    height: 10vh !important;
  }
  .text-body-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 992px) {
  .achiv-heading h2 {
    font-size: 30px !important;
  }
  .achiv-heading {
    height: 14vh !important;
  }
  .top-img {
    height: 17vh !important; /* Further increase height for smaller screens */
  }
  .name-overlay {
    font-size: 25px !important;
  }
  .company-overlay {
    font-size: 25px !important;
    white-space: nowrap !important;
  }
  .overlay_0 {
    width: 54vw !important;
    height: 10vh !important;
  }
  .text-body-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 768px) {
  .achiv-heading h2 {
    font-size: 28px !important;
  }

  .achiv-heading {
    height: 15vh !important;
  }
  .top-img {
    height: 16vh !important; /* Further increase height for tablets */
  }
  .name-overlay {
    font-size: 22px !important;
  }
  .company-overlay {
    font-size: 22px !important;
  }
  .overlay_0 {
    width: 40vh !important;
    height: 10vh !important;
  }
  .text-body-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media (max-width: 576px) {
  .achiv-heading h2 {
    font-size: 25px !important;
  }
  .achiv-heading {
    height: 14vh !important;
  }
  .top-img {
    height: 14vh !important; /* Further increase height for mobile devices */
  }
  .name-overlay {
    font-size: 17px !important;
  }
  .company-overlay {
    font-size: 17px !important;
  }
  .overlay_0 {
    width: 78vw !important;
    height: 10vh !important;
  }
  .text-body-container {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}
.custom-dropdown {
  display: none; /* Initially hidden */
  position: absolute;
  width: 94%;
  background: #02853e;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.custom-dropdown.show {
  display: block; /* Display when the 'show' class is added */
}

.custom-dropdown button {
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-dropdown button:last-child {
  border-bottom: none;
}

#change-text {
  color: #231f20;
  font-size: 24px;
  font-weight: 700;
  font-family: Inter;
}
.btn-back {
  background-color: #038443;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-back:hover {
  background-color: #038443;
  color: #f59120;
}

.detail-view {
  padding: 20px;
}
.ach-image-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.ach-text {
  width: 100%;
  margin-top: 15px;
}

.ach-text p {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.ach-logo {
  max-width: 100px;
  height: auto;
}

.ach-slider {
  display: flex !important;
  width: 100% !important;
}
.my-ach-mini-card-slide {
  flex: 0 0 100% !important;
}

@media (max-width: 768px) {
  .my-ach-mini-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .ach-text p {
    font-size: 1.1rem;
  }
}
/* Mobile Slider Styles */
.my-ach-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ach-slider {
  display: flex;
  transition: transform 0.3s ease;
  width: 100%;
}

.my-ach-mini-card-slide {
  min-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.slider-dots {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #038443;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .mobile-detail-list {
    padding-left: 20px;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .my-ach-mini-card {
    margin: 0 auto !important;
  }

  .ach-card-container .row {
    margin: 0 !important;
  }

  .ach-card-container .col-12 {
    padding: 0 15px !important;
  }
}
/* Slider Button Styles */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: #038443;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
/* Add these styles to your CSS */
.my-ach-mini-card {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 0.25rem; /* Match your thumbnail radius */
}

.my-ach-mini-card:hover {
  transform: scale(1.05); /* Zoom effect */
  z-index: 10; /* Ensure the hovered card appears above others */
}

.my-ach-mini-card:hover .img-thumbnail {
  border: 3px solid #f7941d; /* Blue border - change color as needed */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.ach-img-shadow {
  transition: all 0.3s ease;
}

.my-ach-mini-card:hover .ach-text p {
  color: #f7941d; /* Change text color on hover if desired */
  font-weight: bold;
}
/* Ensure breadcrumb doesn't wrap awkwardly */
#mobileBreadcrumb .breadcrumb {
  white-space: nowrap;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
#mobileBreadcrumb .breadcrumb::-webkit-scrollbar {
  display: none;
}
.mission-list {
  font-size: 1rem;
  line-height: 1.6;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  color: #333;
}
