 .marker {
  position: fixed;
  right: 0;
  top: 55px;
  width: 2%;
  height: 40px;
  background-color: red;
  border-radius: 20px 0 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 1, 1, 0.5);
  z-index: 99999;
}

.marker p {
  text-align: center;
  display: block;
}

.marker:hover p {
  display: none;
}

.marker:not(:hover) p {
  display: block;
}

.marker:hover {
  width: 7%;
  animation: expand 0.5s ease-in-out forwards;
}

.marker:not(:hover) {
  animation: shrink 0.5s ease-in-out forwards;
}

.marker:hover .extra-text {
  display: block;
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: lightblue;
  padding: 4px 8px;
  border-radius: 4px;
}

.marker:hover .extra-text a {
  text-decoration: none;
  color: blue;
  font-size: 16px;
}
.marker .extra-text {
  display: none;
}

@keyframes expand {
  from {
    width: 2%; /* Starting width when hovering in */
  }
  to {
    width: 7%; /* Ending width when hovering in */
  }
}

@keyframes shrink {
  from {
    width: 7%; /* Starting width when hovering out */
  }
  to {
    width: 2%; /* Ending width when hovering out */
  }
}

/* Media query for small screens */
@media (max-width: 768px) {
  .marker {
  top: 100px;
  width:8%;
  }
   .marker:hover {
  width: 30%;
  animation: expandmobile 0.5s ease-in-out forwards;
            }
            
.marker:not(:hover) {
  animation: shrink 0.5s ease-in-out forwards;
}


.marker:not(:hover) {
  animation: shrinkmobile 0.5s ease-in-out forwards;
}

/* Disable pointer events on hover for .extra-text */
  .marker:hover .extra-text {
    pointer-events: none;
  }
  
  .marker.expanded .extra-text {
    pointer-events: auto;
  }


@keyframes expandmobile {
  from {
    width: 8%; /* Starting width when hovering in */
  }
  to {
    width: 30%; /* Ending width when hovering in */
  }
}

@keyframes shrinkmobile {
  from {
    width: 30%; /* Starting width when hovering out */
  }
  to {
    width: 8%; /* Ending width when hovering out */
  }
}
}

#read-more {
  color: blue;
  text-decoration: underline;
}

#flex {
  position: absolute;
  display: none;
  top: 90px;
  width: 90%;
  height: auto;
  background-color: #FFFFFF;
  padding: 20px;
  transition: right 0.5s ease-in-out;
  z-index: 99999;
}

#close {
  position: absolute;
  right: 10px;
  top: 10px;
  color: red;
  cursor: pointer;
}

#close2 {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background-color: red;
  cursor: pointer;
}

#flex-content {
  width: 98%;
  margin: auto;
  padding: 20px;
  text-align: justify;
  box-sizing: border-box;
  border: 15px solid #ADBBC9;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center items horizontally */
}
  
  .image-read-more {
    max-width: 150px;
    max-height: 220px;
    border: 5px solid transparent; /* Set the border width */
    background-clip: padding-box; /* Ensure the background doesn't cover the border */
    box-shadow: 
        10px 10px 0px 0px brown, /* Top left corner color */
        -10px 10px 0px 0px orange, /* Top right corner color */
        10px -10px 0px 0px orange, /* Bottom left corner color */
        -10px -10px 0px 0px brown; /* Bottom right corner color */
}

/* category styles */
.category-section {
  background-color: #370548;
  background-size: cover;
  padding: 50px;
  color: white;
  width: 100%;
  height: auto;
  border: 20px solid #12A0CA;
  box-shadow: 0 0 0 10px #12A0CA inset;
  z-index: 9999;
}

.category-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 20px;
}

.category-column {
  display: flex;
  flex-direction: column;
}

  .category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
  }

.category-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

.category-links li {
  margin-bottom: 20px;
}

.category-links a {
  color: white;
  text-decoration: none;
  padding: 30px;
  display: inline;
}

/* Mobile view styles */
@media screen and (max-width: 768px) {
  .category-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .category-column:not(:last-child) {
    margin-bottom: 20px;
  }

  .category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    cursor: pointer;
  }

.category-heading::after {
  content: '+';
  margin-left: 5px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.category-heading.active::after {
  content: '-';
  margin-left: 5px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}


  .category-column {
    display: block;
  }

  .category-column:not(:last-child) {
    border-bottom: 1px solid white;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .category-links {
  height: 0;
  padding: 1px;
  justify-content: space-between;
  margin: 0;
  opacity: 0;
  display: block;
  transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

  .category-links.active {
  height: auto;
  opacity: 1;
  visibility: visible;
  transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
}
/* Desktop view styles */
@media screen and (min-width: 769px) {
  .category-links {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .category-links {
    display: ;
  }

  .category-section .grid:nth-child(5) {
    display: flex;
    justify-content: flex-end;
  }
}

.message-section {
  padding: 100px;
  text-align: center;
}

.hidden {
  opacity: 0;
}

.slideshow-container {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.slide {
  flex: 0 0 50%; /* Adjust to desired width */
  transition: transform 0.5s ease-in-out;
  box-sizing: border-box;
   border: 20px solid #236462;
  box-shadow: 0 0 0 20px #16D3CD inset;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0; /* Adjust to desired background color */
}

.slide:last-child {
  margin-right: 0; /* Remove margin for the last slide */
}

.slide img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: black;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .slide {
    flex: 0 0 100%;
    margin-right: 0;
  }
  .slide img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
}

.flag {
  position: relative;
  display: inline-block;
}

.flag::before {
  content: 'NEW';
  position: absolute;
  top: -8px; /* Adjust this value to position the flag */
  left: 4px; /* Adjust this value to position the flag */
  padding: 2px 6px; /* Adjust this value to change the flag size */
  background-color: #f00; /* Replace with your desired flag background color */
  color: #fff; /* Replace with your desired flag text color */
  font-weight: bold;
  animation: flagAnimation 1s infinite;
}

@keyframes flagAnimation {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

      .custom-list {
            list-style: none;
            padding: 0;
            
        }

        .custom-list li {
            position: relative;
            padding: 10px 20px 10px 50px;
            margin-bottom: 10px;
            background-color: #000000;
            color: white;
            font-size: 16px;
            border-bottom: 10px solid red;
            
        }

        .custom-list li::before {
            content: "\1F449";
            position: absolute;
            left: 0;
            color: #ff6600; 
            font-size: 30px;
        }
        
        .centered-image {
            display: block;
            margin: 0 auto; /* Horizontally center the image */
            text-align: center; /* Center the image within its container */
            height: 200px;
            width: 500px;
        }
        
        .image-text {
           position: absolute;
           top: 50px;
           padding: 16px;
           color: black;
           font-size: 24px;
           text-align: justify;
             }
        
        @media (max-width: 768px) {
              .centered-image {
            max-width: 300px;
        }
        .image-text {
           font-size: 16px;
             }
        }
        
        .scrollable-container {
            position: relative;
            width: 100%;
            overflow-x: scroll;
            white-space: nowrap;
            scrollbar-width: thin; /* Firefox */
            scrollbar-color: transparent transparent; /* Firefox */
        }

        /* Webkit (Chrome, Safari, newer versions of Edge) */
        .scrollable-container::-webkit-scrollbar {
            width: 6px;
        }

        .scrollable-container::-webkit-scrollbar-thumb {
            background-color: transparent;
        }
        
        .scrollable-container::before,
        .scrollable-container::after {
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 30px;
            height: 30px;
            background-color: rgba(0, 0, 0, 0.5);
            opacity: 0.5;
            cursor: pointer;
        }

        .scrollable-container::before {
            left: 0;
        }

        .scrollable-container::after {
            right: 0;
        }

        .grid-box {
            width: 200px;
            height: 200px;
            display: inline-block;
            margin: 10px; /* Adjust margin as needed */
            justify-content: center; /* Center vertically */
            align-items: center; /* Center horizontally */
            text-align: center;
            vertical-align: top;
            background-color: #F7DC6F;
            border-radius: 8px;
        }

        .label {
            padding: 25px;
            font-weight: bold;
        }

        .grid-image img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50px;
    align-items: center;
}

.grid-image a {
    display: block;
    height: 100px !important;
}

@media screen and (max-width: 768px) {
  .grid-box {
    width: 150px;
    height: 150px;
    margin: 5px;
  }
  .grid-image img {
    max-width: 90px !important;
    max-height: 90px !important;
}

.grid-image a {
    display: block;
    height: 90px !important;
}

 .label {
            padding: 10px;
 }

.scrollable-container::before,
        .scrollable-container::after {
            display: none;
        }
}
