html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: #111;
}

html::-webkit-scrollbar-thumb {
  background: var(--primary-bg-color);
  border-radius: 10px;
  height: 10px;
}

main {
  width: 100%;
}

.first-container {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  background: black;
}

.first-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: transform 0.3s ease;
}

.first-container img:hover img {
    transform: scale(1.1); /* Scales the image to 110% of its original size */
    cursor: pointer;
}

.overlay-text {
  position: relative;
  z-index: 2; /* Ensures text appears above the image */
  color: var(--text-secondary-color); /* Text color */
  font-size: 3rem; /* Adjust as needed */
  font-weight: bold;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.read-more-btn {
  color: var(--text-primary-color);
  border: 1px solid var(--primary-bg-color);
  padding: 5px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

.read-more-btn:hover {
  background-color: var(--primary-bg-color);
  color: var(--text-secondary-color);
}

.heading {
  background: var(--primary-bg-color);
  margin: 2rem 0;
  padding: 1rem;
}

.heading h2 {
  font-size: var(--font-subheader-size);
  text-align: center;
  color: var(--text-secondary-color);
  text-transform: uppercase;
  font-weight: bolder;
}

.second-section .heading{
    margin-top: 0 !important;
    margin-bottom: 1rem;
}

.sub-content {
  width: 80vw;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 1rem 0;
}

.sub-content .se-co-te {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin: 10px;
  text-align: justify;
}

.se-co-te :first-child {
  color: var(--primary-bg-color);
  text-decoration: none;
}

.se-co-te .read-more-btn {
    width: 20vw;
}

.pr-image img {
    width: 30vw;
    object-fit: contain;
    overflow: hidden;
    border-radius: 15px;
}

.report-content, .press-content {
  display: block;
  width: 90vw;
  margin: auto;
}

.report, .press {
  max-width: 90vw;
  box-shadow: 0 0px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  border-radius: 10px;
  position: relative;
  margin-bottom: 2rem;
}

.report .date-month, .press .date-month {
  background: var(--primary-bg-color);
  border-right: 5px solid rgb(242, 240, 240);
  border-radius: 10px;
  color: var(--text-secondary-color);
  font-weight: bolder;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  line-height: 50px;
  padding: 1rem 2rem;
}

.report .main-info, .press .main-info {
  width: 100%;
  padding: 20px;
  line-height: var(--line-height);
}

.report .main-info h2 a, .press .main-info h2 a {
  color: var(--text-primary-color);
  text-decoration: none;
}

.report .sub-info, .press .sub-info {
  color: var(--text-tertiary-color);
}

.report .sub-info a, .press .sub-info a {
  margin-right: 20px;
  color: var(--text-primary-color);
  font-weight: 500;
}

.report:hover, .press:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Add shadow for 3D effect */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 1rem 2rem;
}

.box {
  min-height: 50vh;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--contrast-color);
  border-bottom: 5px solid var(--accent-color);
  box-shadow: 0 0px 6px rgba(0, 0, 0, 0.2);
}

.grid-container .box .image {
  height: 18rem;
  overflow: hidden;
  width: 100%;
}

.grid-container .box .image img {
  height: 100%;
  width: 100%;
  object-fit: fill;
  transition: transform 0.5s ease;
}

.grid-container .box .image:hover img {
  transform: scale(1.1);
}

.grid-container .box .box-sub-content {
  padding: 1rem;
  text-align: justify;
}

.grid-container .box .box-sub-content h3 a{
    color: var(--text-primary-color);
    text-decoration: none;
    margin-top: 1rem;
}

.grid-container .box .box-sub-content p{
    color: var(--text-tertiary-color);
    margin-top: 1rem;
}

.grid-container .box .box-sub-content .name-content {
  display: flex;
  justify-content: space-between;
}

.grid-container .box .box-sub-content .name-content :first-child {
  text-decoration: underline;
  color: var(--text-primary-color);
}

.grid-container .box .box-sub-content span {
  color: var(--text-tertiary-color);
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 16px;
}

.grid-container .box .box-sub-content .name-content span{
    color: var(--text-primary-color);
}

.grid-container .box .box-sub-content p a {
  color: var(--text-secondary-color);
  font-size: 16px;
  text-decoration: none;
}

/* Container settings */
.slider-container {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1rem;
}

.slider-info{
    flex-basis: 50%;
    padding: 1rem;
    border-right: 2px solid var(--text-primary-color);
}

.slider-info h4{
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary-color);
}

.slider-info p, .slider-info h4{
    padding: 1rem;
    text-align: justify;
    font-weight: 600;
}

.slider-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    flex-basis: 50%;
}
/* Header styling */
.fifth-section h3 {
  width: 100%;
  font-size: var(--font-subheader-size);
  background-color: var(--primary-bg-color);
  text-align: center;
  margin-top: 15px;
  color: var(--text-secondary-color);
  padding: 5px;
}

/* Styling for individual logo items */
.slider-item,
.slider-item img {
  width: 10vw; /* Adjust width of each logo */
  height: auto; /* Keep aspect ratio intact */
  max-height: 10vh; /* Restrict maximum height */
}

.slider-item:hover img {
  transform: scale(1.1); /* Slightly enlarge the logo */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0); /* Add shadow for 3D effect */
}

/* Hover effect for the logo item container */
.slider-item:hover {
  cursor: pointer; /* Change cursor to pointer to indicate interactiveness */
}

@media screen and (max-width: 768px) {

.overlay-text {
    font-size: 2rem;
    padding: 2rem;
}

  .sub-content {
    flex-direction: column;
  }

  .pr-image img {
    width: 80vw;
  }

  .se-co-te .read-more-btn {
    width: 100%;
    font-size: 12px;
  }

  .report, .press {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .report .date-month, .press .date-month {
    width: 100%;
    border-right: none;
    border-bottom: 5px solid rgb(242, 240, 240);
  }

  .report .main-info {
    text-align: center;
  }

  .report .main-info p {
    text-align: justify;
    margin-top: 5px;
  }

  .grid-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .slider-container {
      flex-direction: column
  }

  .slider-item, .slider-item img {
      width: 20vw;
  }

  .slider-info{
    border: none;
  }
}
