


/* Card container */
.card {
    width: 270px;
    height: 170px;
    perspective: 1000px; /* Enable 3D perspective */
    text-decoration: none; /* Remove link underline */
}

/* Card inner for flipping */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Flip effect on hover */
.card:hover .card-inner {
    transform: rotateY(180deg);
}

/* Front and back faces */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

/* Front face styles */
.card-front {
    background-color: #b35929; /* Initial background color */
    color: #fff; /* Initial text color */
}

/* Back face styles */
.card-back {
    background-color: #fff; /* Back background */
    color: #b35929; /* Back text color */
    transform: rotateY(180deg);
}

/* Smooth transition for colors */
.card-front, .card-back {
    transition: background-color 0.6s, color 0.6s;
}

/* Add hover effects */
.card:hover .card-back {
    background-color: #b35929;
    color: #fff;
}



/* Unique Card Container */
.unique-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* Unique Cards */
.unique-card {
  width: 550px;
  height: 308px;
  background-color: #e0e0e0; /* Default background color for unique cards */
  border: 2px solid #333;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.unique-card img {
  width: 100%;
  height: auto;
  max-height: 308px;
}

.unique-card h4 {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 20px;
  color: white;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  padding: 10px 0;
  margin: 0;
}

/* Hover Effect */
.unique-card:hover {
  background-color: #b35929; /* Replace with the original hover background color */
  transform: scale(1.05); /* Slight zoom */
}

.unique-card:hover h4 {
  background-color: rgba(0, 0, 0, 0.5); /* Lighten the text background on hover */
}

/* Ensure the link spans the entire card */
.unique-card .card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}


/* Container for the album list */
.album-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 albums per row */
    gap: 20px; /* Space between albums */
    margin: 20px auto;
    max-width: 1200px;
}

/* Individual album card */
.album {
    text-align: center;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Album hover effect */
.album:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Album cover image */
.album img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

/* Album title */
.album h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
    padding: 0 10px;
}
.album-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Six items per row */
    gap: 15px; /* Space between grid items */
    margin: 20px auto;
    max-width: 1200px; /* Optional */
}

.thumbnail {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.thumbnail video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 991px) {
    .album-thumbnails-grid {
        grid-template-columns: repeat(4, 1fr); /* Four items per row */
    }
}

@media (max-width: 768px) {
    .album-thumbnails-grid {
        grid-template-columns: repeat(2, 1fr); /* Two items per row */
    }
}

@media (max-width: 576px) {
    .album-thumbnails-grid {
        grid-template-columns: 1fr; /* One item per row */
    }
}

/* Container for the document section */
.document-wrapper {
  padding: 20px;
  background-color: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;  /* Prevent overflow during animation */
  width: 100%;  /* Make the document wrapper take full width */
}

/* Document title section */
.document-files {
  margin-top: 20px;
}

.document-files h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

/* List that holds the document items */
.document-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;  /* Stretch each item to take full width */
  width: 100%;  /* Ensure full width */
}

/* Animation for sliding in from the left */
@keyframes slide-in {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Individual document item */
.document-item {
  background-color: #333;
  color: #fff;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateX(-100%);  /* Initially off-screen to the left */
  animation: slide-in 0.5s forwards;  /* Slide-in effect */
  width: 100%;  /* Ensure each document item takes full width */
}

/* Add delay for each document item to come one after another */
.document-item:nth-child(1) {
  animation-delay: 0.2s;
}
.document-item:nth-child(2) {
  animation-delay: 0.4s;
}
.document-item:nth-child(3) {
  animation-delay: 0.6s;
}
.document-item:nth-child(4) {
  animation-delay: 0.8s;
}
.document-item:nth-child(5) {
  animation-delay: 1s;
}

/* On hover, change the background color */
.document-item:hover {
  background-color: #df6c2e;  /* Orange color on hover */
}

/* Style for links */
.document-item a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}

.document-item a:hover {
  color: #000;
}

/* Icon styling */
.document-item i {
  margin-right: 10px;
  font-size: 18px;
}


/* Container for the board members */
.board-members-container {
    padding: 30px;
    background-color: #f4f4f4;
    text-align: center;
}

.board-members-container h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Grid layout for the board members */
.board-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid with flexible column width */
    gap: 20px;
    padding: 0 15px;
}

/* Individual board member card */
.board-member-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
    height: 450px; /* Increased height for better content display */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the content is spread evenly */
}

/* Image of the board member */

.board-member-image {
    width: 100%;          /* Ensure image takes up the full width of the container */
    height: auto;         /* Maintain aspect ratio */
    object-fit: cover;    /* Ensure image fills the container without distortion */
    object-position: center; /* Center the image */
    max-width: 100%;      /* Ensures the image doesn't exceed the container width */
    transition: transform 0.3s ease-in-out;

}


/* Board member details section */
.board-member-details {
    padding: 20px;
    background-color: #fff;
    color: #333;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Keeps the content evenly spaced */
}

/* Name of the board member */
.board-member-name {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

/* Role of the board member */
.board-member-role {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

/* Biography section of the board member */
.board-member-bio {
    font-size: 14px;
    color: #555;
    margin-top: 15px;
}

.board-member-bio h5 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Hover effect for the board member card */
.board-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .board-members-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }


    .board-member-name {
        font-size: 18px;
    }

    .board-member-role {
        font-size: 14px;
    }

    .board-member-bio h5 {
        font-size: 15px;
    }
    .board-member-card {
        width: 100%;
        height: auto;
        display: block;
    }

    .board-member-image {
        width: 100%;
        height: 200px; /* Adjust this value based on the desired image height on mobile */
        object-fit: cover; /* Ensures it covers the card without stretching */
    }

    /* You can also adjust the details section to avoid overflow on smaller screens */
    .board-member-details {
        padding: 10px;
    }
}

/* Basic styles for the tender listing and accordion */
.tender-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.tender-status-sidebar {
  width: 25%;
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
}

.tender-content {
  width: 75%;
}

.tender-tabs ul {
  list-style: none;
  padding: 0;
  display: flex;
}

.tender-tabs ul li {
  margin-right: 20px;
}

.tender-tabs ul li a {
  text-decoration: none;
  color: #ff7f00;
  font-weight: bold;
}

.tender-list {
  margin-top: 20px;
}

.accordion-item {
  background-color: #fff;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.accordion-header {
  background-color: #f4f4f4;
}

.accordion-button {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  text-align: left;
  background-color: #f4f4f4;
  border: none;
  color: #333;
  font-weight: bold;
  transition: background-color 0.3s;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: #ff7f00;
  color: #fff;
}

.accordion-body {
  padding: 15px;
  font-size: 14px;
  color: #333;
}

.documents ul {
  list-style: none;
  padding: 0;
}

.documents li {
  margin-bottom: 8px;
}

.documents a {
  text-decoration: none;
  color: #ff7f00;
  font-weight: bold;
}

.documents a:hover {
  text-decoration: underline;
}

.fas.fa-download {
  margin-right: 8px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .tender-wrapper {
    flex-direction: column;
  }

  .tender-status-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  .tender-content {
    width: 100%;
  }

  .accordion-button {
    font-size: 14px;
  }

  .accordion-body {
    font-size: 12px;
  }
}
