/*=================================================================*/
/*                      PORTFOLIO                              
/*=================================================================*/
.portfolio-wrapper [class*="col-"] {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  .pf-filter-wrapper {
    display: none;
  }
  
  .portfolio-item {
    height: 260px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }
  .portfolio-item .thumb {
    overflow: hidden;
  }
  .portfolio-item .details {
    color: #fff;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
  }
  .portfolio-item .details h4 {
    color: #fff;
    font-size: 20px;
    margin: 0 0 10px;
    padding: 0 20px;
    opacity: 0;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
    -o-transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
    transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
    position: absolute;
    top: 60px;
  }
  .portfolio-item .details span.term {
    color: #fff;
    background: #283593;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    font-size: 14px;
    opacity: 0;
    display: inline-block;
    padding: 3px 10px;
    position: absolute;
    top: 0;
    left: 20px;
    -webkit-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    transform: translateY(-40px);
    -webkit-transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
    -o-transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
    transition: all cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
  }
  .portfolio-item .details .more-button {
    color: #fff;
    font-size: 20px;
    display: block;
    background: #283593;
    border-radius: 100%;
    height: 40px;
    line-height: 42px;
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 40px;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .portfolio-item .mask {
    background: #18191a;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .portfolio-item:hover .mask {
    opacity: 0.8;
  }
  .portfolio-item:hover .details h4,
  .portfolio-item:hover .details span {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  .portfolio-item:hover .details .more-button {
    opacity: 1;
  }
  
  .portfolio-filter {
    margin-bottom: 25px;
  }
  .portfolio-filter li {
    color: #2f3640;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .portfolio-filter li:hover {
    color: #283593;
  }
  .portfolio-filter li.current {
    color: #006dff;
  }
  .portfolio-filter li:not(:last-child) {
    margin-right: 1.8rem;
  }
  
  select.portfolio-filter-mobile {
    font-size: 16px;
    border: 2px solid #283593; /* Add a border for a distinct look */
    border-radius: 10px;
    padding: 10px; /* Add padding for better spacing */
    outline: 0;
    margin-bottom: 20px; /* Reduced margin for a more compact layout */
    width: 100%;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
    background-color: #fff; /* Set a background color for clarity */
    color: #333; /* Set text color */
  }
  
  .pf-filter-wrapper {
    position: relative;
  }
  .pf-filter-wrapper:after {
    content: "";
    font-family: "FontAwesome";
    position: absolute;
    top: 0;
    right: 20px;
    color: #000;
  }

  .google-map {
    position: relative;
    width: 100%;
    padding-top: 95vh; /* Adjust the value for desired height */
  }
  
  @media (max-width: 768px) {
    .google-map {
      padding-top: 177.77%; /* 9:16 Aspect Ratio (9/16 * 100) */
    }
  }
  
  .google-map iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

  .rounded {
    border-radius: 20px !important;
  }

  .shadow-dark,
  .desktop-header-3 .dropdown-menu,
  .form-control,
  .form-control:focus {
    -webkit-box-shadow: 0px 5px 20px 0px rgba(47, 54, 64, 0.1);
    box-shadow: 0px 5px 20px 0px rgba(47, 54, 64, 0.1);
  }

.centered {
    width: 350px; /* Set width as needed */
    margin: 0 auto; /* This will center the div */
}

#logoOverlay {
  position: absolute;
  bottom: 2%; 
  left: 1%;  
  width: 18%;  
  height: 7%;
  background-color: #ffffff; /* Light gray background */
  z-index: 10;    
  display: flex;             
  justify-content: center;   
  align-items: center;      
  font-size: 14px;          
  color: black;
  border: 1px solid #ddd;   /* Add a subtle border */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-radius: 4px;       /* Slightly rounded corners */
  font-family: "Ubuntu", sans-serif;
}

@media (max-width: 768px) { 
  #logoOverlay {
      bottom: 12%;          /* Same as the overlay's bottom (mobile) */
      left: 0.7%;           /* Same as the overlay's left (mobile) */
      width: 13%;           /* Match the width of the overlay (mobile) */
      height: 7%;          /* Increase the height of the box / / Maintain the square shape */
      font-size: 10px;       /* Decrease font size to fit */
      font-family: "Ubuntu", sans-serif;
  }
}

#logoOverlay::before {  /* Add this pseudo-element */
  content: "by AI Robotics Club"; 
  display: block;         /* Make it occupy space */
}

@media (max-width: 768px) { 
  #logoOverlay::before {
      content: "by AI Robotics Club";  /* Change the content for mobile */
  }
}

.google-map .bottomRightOverlay { 
  position: absolute;
  bottom: 0;         
  right: 0;           
  width: 25%;        
  height: 2.2%;         
  background-color: #F1EFEC;
  z-index: 11;      
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .google-map .bottomRightOverlay { /* More specific selector */
      bottom: 0%; 
      right: 0;    /* Reset right to auto on mobile */
      width: 50%; 
      height: 2.2%;   
  }
}

.google-map #bottomLeftOverlay { /* Styles for the bottom-left overlay */
  position: absolute;
  bottom: 0;         
  left: 0;           /* Move to the left */
  width: 0%;        
  height: 0%;         
  background-color: #F1EFEC;
  z-index: 11;      
}

/* Mobile Adjustments (if needed) */
@media (max-width: 768px) {
  .google-map #bottomLeftOverlay { /* Or your chosen class */
      bottom: 0%; 
      left: 0.5%; 
      width: 50%; 
      height: 2.2%;   
  }
}

.topOverlay {
  position: absolute;
  bottom: 91%; 
  right: 1%;  
  width: 8%;  
  height: 7%;
  background-color: #ffffff; /* Light gray background */
  z-index: 10;    
  display: flex;             
  justify-content: center;   
  align-items: center;      
  font-size: 14px;          
  color: black;
  border: 1px solid #ddd;   /* Add a subtle border */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-radius: 4px;       /* Slightly rounded corners */
  font-family: "Ubuntu", sans-serif;
}

@media (max-width: 768px) { 
  .topOverlay {
      bottom: 82.4%;          /* Same as the overlay's bottom (mobile) */
      right: 2.5%;           /* Same as the overlay's left (mobile) */
      width: 13.5%;           /* Match the width of the overlay (mobile) */
      height: 7.5%;          /* Increase the height of the box / / Maintain the square shape */
      font-size: 9px;       /* Decrease font size to fit */
      font-family: "Ubuntu", sans-serif;
  }
}

.topOverlay::before {  /* Add this pseudo-element */
  content: "slbsgmch-MAP"; 
  display: block;         /* Make it occupy space */
}

@media (max-width: 768px) { 
  .topOverlay::before {
      content: "slbsgmch-MAP";  /* Change the content for mobile */
  }
}


#topOverlay2 {
  position: absolute;
  bottom: 91%; 
  right: 1%;  
  width: 8%;  
  height: 7%;
  background-color: #ffffff; /* Light gray background */
  z-index: 9;    
  display: flex;             
  justify-content: center;   
  align-items: center;      
  font-size: 14px;          
  color: black;
  border: 1px solid #ddd;   /* Add a subtle border */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-radius: 4px;       /* Slightly rounded corners */
  font-family: "Ubuntu", sans-serif;
}

@media (max-width: 768px) { 
  #topOverlay2 {
      bottom: 2.8%;          /* Same as the overlay's bottom (mobile) */
      right: 2.5%;           /* Same as the overlay's left (mobile) */
      width: 12%;           /* Match the width of the overlay (mobile) */
      height: 7%;          /* Increase the height of the box / / Maintain the square shape */
      font-size: 9px;       /* Decrease font size to fit */
      font-family: "Ubuntu", sans-serif;
      background-color: #1890ff;
      z-index: 10;
      color: #fff;
  }
}

@media (max-width: 768px) { 
  #topOverlay2::before {
      content: "Switch Floors";  /* Change the content for mobile */
  }
}