
.login-link {
  color: #007bff;
  text-decoration: none;
}

.login-link:hover {
  color: #78909c;
}

.tabs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.tabs {
  display: flex;
  border-bottom: 2px solid #ccc;
}
.tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  background-color: #f4f4f4;
  border: none;
  outline: none;
}
.tab.active {
  background-color: #fff;
  color: #455a64bd;
  border-bottom: 2px solid #007BFF;
}
.tab:hover {
  color: #455a64bd;
  background-color: #e8e8e8;
}
.tab-content {
  display: none;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
}
.tab-content.active {
  display: block;
}
.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.button-grid button {
  padding: 10px;
  color: #78909cbc;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.button-grid button:hover {
  background-color: none;
}

/* Hide the scrollbar but still allow scrolling */
.popup::-webkit-scrollbar {
  display: none;  /* Hides the scrollbar in Webkit-based browsers */
}

.popup {
  -ms-overflow-style: none;  /* Hides scrollbar in IE and Edge */
  scrollbar-width: none;  /* Hides scrollbar in Firefox */
}


/* The popup content */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  z-index: 1000;
  padding: 20px;
  width: 100%; /* Adjust width to make it bigger */
  max-width: 1000px; /* Set a max-width to avoid being too large on wide screens */
  max-height: 100%; /* Set max height for the popup */
  overflow-y: auto; /* Allow vertical scrolling if content overflows */
  overflow-x: auto; /* Allow horizontal scrolling if content overflows */
}

/* Content inside the popup */
.iframe-container {
  width: 100%;
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Disable vertical scrolling (optional) */
  -ms-overflow-style: none;  /* Hides scrollbar in IE and Edge */
  scrollbar-width: none;  /* Hides scrollbar in Firefox */
}

.iframe-container::-webkit-scrollbar {
  display: none;  /* Hides the scrollbar in Webkit-based browsers */
}

iframe {
  width: 1000px; /* Set width to trigger horizontal scrolling */
  height: 1000px; /* Adjust the height as needed */
  border: none;
  display: inline-block; /* Prevent iframe from wrapping */
  overflow: hidden; /* Prevent internal iframe scrolling */
}


.popup-close-container {
  position: relative;
  width: 100%;
  height: 40px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  cursor: pointer;
  color: #78909c;
  font-weight: bold;
  background: none;
  border: none;
  outline: none;
  z-index: 1001;
}

.popup-close:hover {
  color: #666;
}


.overlay-content {
    position: absolute;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    width: 100vw; /* Ensure full width for centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center both horizontally and vertically */
    box-sizing: border-box;
  }


/* Navigation Menu Styling */
.rentals-page-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; /* Ensure it's above other page elements */
    display: flex;
    justify-content: center; /* Center the menu horizontally */
  }

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;700&display=swap');
/* Page Container */

/* Video Background Section */
.overlay-content,
.image-header-container,
.video-background-frame,
.video-background-wrapper {
    height: 25vh !important;
  }


.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensure full viewport height */
  position: relative;
  box-sizing: border-box;
}


.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: white;  
  z-index: 10;
  padding-bottom: 35px;
  border-bottom: 3px solid #78909c;
}


/* Video Background Section */
.video-background-wrapper {
    position: absolute;
    width: 100vw; /* Ensure full width for centering */
    overflow: hidden;
  }
  
.video-background-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* Ensure full width for centering */
    object-fit: cover;
    z-index: -1;
  }


.overlay-text {
  font-size: 36px;
  font-weight: 500;
  color: #78909c;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 20px;
}


body {
  color: none; /* Set global text color to white */
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
  text-decoration: none; /* Removes underline from links */
}

.main-heading {
    font-size: 24px;
    margin: 10px 0;
    text-align: center;
    font-weight: 500; /* Thin weight for headings */
    background: none; /* Ensure no background color */
    z-index: 1000;
}

  .row-container {
    text-align: center;
    width: 100%;
    margin: 20px 0;
    padding-bottom: 20px;
  }

  .light-button {
    background-color: none;
    color: #333;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }

  .light-button:hover {
    background-color: #333;
    color: white;
    border-color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .iframe-wrapper2 {
    display: none; /* Initially hidden */
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
  
  
/* HEADER */
h1, h2, p {
  margin: 10px auto;
  padding: 0;
  overflow: hidden; /* or auto */
  text-align: center; /* Center align heading text */
  overflow-wrap: break-word;
  font-weight: 300; /* Consistent font-weight */
}

.separator {
  border: 0;
  border-top: 2px solid #ccc;
  margin: 20px 0;
}

.custom-strong {
  font-weight: bold;
}

/* Apply font size of 10px to the disclosure content */
.disclosure {
  font-size: 8px;
  text-align: center; /* Center align heading text */
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}


.styled-line {
  border: none; /* Remove default border */
  border-top: 1px solid #c5cace; /* Solid line with desired color and thickness */
  margin-bottom: 10px; /* Adjust space above and below the line */
  width: 100%; /* Full width */
}


.info-section p {
  font-size: 8px; /* Smaller font size */
  margin-top: 15px;
}


.popup-item {
  text-align: center; /* Center align titles and values */
  flex: 1; /* Flex grow to evenly distribute space */
}

.popup-title {
  font-weight: bold;
  margin-bottom: 5px; /* Space below the title */
}

.popup-value {
  font-size: 14px; /* Adjust the font size of the value */
}


.popup-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
}

.popup-gallery img {
  width: 150px;
  height: 150px;
  margin: 5px;
}

.popup-text {
  align-items: center;
  justify-content: center;
  align-content: center;
  color: #333;
  z-index: 2000;
}


.popup-text p {
  width: 60%;
  align-items: center;
  justify-content: center;
  align-content: center;
  white-space: normal; /* Allow paragraphs to wrap properly */
  overflow-x: hidden; /* Hide horizontal overflow */
}

.popup-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px; /* Increased for better separation */
}

.popup-gallery img {
  width: 150px;
  height: auto;
  cursor: pointer;
  transition: opacity 0.3s;
}

.popup-gallery img:hover {
  opacity: 0.8;
}

.lb-outerContainer {
  position: relative; /* Ensure positioning context for child elements */
  width: 413px;
  height: 548px;
}


.lb-dataContainer {
  position: absolute; /* Position absolutely within .lb-outerContainer */
  top: 0; /* Align to the top */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Centering adjustment */
  width: 728px; /* Fixed width for your container */
  padding: 10px; /* Optional padding for spacing */
  z-index: 1000; /* Ensure it's above other elements */
}

.lb-data {
  display: flex; /* Flexbox layout */
  flex-direction: column; /* Column layout */
  align-items: center; /* Center items horizontally */
}

.lb-number {
  color: white !important; /* Text color for better contrast */
  font-size: 14px; /* Adjust size if necessary */
  margin: 5px 0; /* Add margin for spacing */
  z-index: 1001 !important; /* Ensure it's above other elements */

}

.lb-closeContainer {
  position: absolute; 
  top: 10px; /* Distance from the top */
  right: 10px; /* Distance from the right */
}


.lb-close {
  display: block;
  width: 30px; 
  height: 30px; 
  background: #fff; /* Background color */
  cursor: pointer; /* Pointer cursor on hover */
  font-size: 24px; /* Font size for the '×' symbol */
  line-height: 30px; /* Align the text vertically */
  text-align: center; /* Center the text horizontally */
  position: relative; /* Ensure relative positioning within the container */
  top: 5px;
  left: -20px; 
}

.lb-close:hover {
  background-color: #eee; /* Background color on hover */
}


.service-container h1 {
  padding: 10px;
  padding-bottom: 20px;
}


.contact-title {
  text-decoration: none; /* Removes underline from links */
  background: transparent;
  font-size: 12px;
  text-align: left;
  padding: 0; /* Use '0' instead of 'none' */
  font-weight: 500;
}

.gallery-img {
    border: 3px solid #a8b8c6;
    box-shadow: 0 0 10px rgba(168, 184, 198, 0.7);
}


.construction-text {
  color: red;
}


/* Image/Video Background Container */
.image-header-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  margin: 0;
  display: flex;
  align-items: center; /* Vertically center content */
  justify-content: center; /* Center horizontally */
}



.hidden {
  opacity: 0; /* Make it invisible */
  pointer-events: none; /* Prevent it from blocking interactions */
  display: none; /* Hides the element */}


.content-disclosure {
  font-size: 10px;
  padding: 10px;
  color: white;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.custom-strong {
  font-weight: 500;
  margin: 5px;
}


#header-info-container {
  display: flex;              /* Enable flexbox */
  flex-direction: column;     /* Arrange children vertically */
  align-items: center;        /* Center horizontally */
  text-align: center;         /* Center text */
  margin-top: 10px; 
  margin-bottom: 20px; 
  padding: 10px 0; 
  border-radius: 8px; 
  max-width: 1000px;
  margin-left: auto;          /* Center the container */
  margin-right: auto;         /* Center the container */

}

.header-text {
  color: white;
  font-size: 16px;
  width: auto; /* Change this to auto or a specific value */
  max-width: 100%; /* Ensure it doesn't exceed the parent width */
  text-align: center; /* Center text */
  margin-left: auto; /* Center horizontally */
  margin-right: auto; /* Center horizontally */
  width: 60vw;
}

.header-logo {
  width: 350px;  /* Set desired width */
  height: auto;  /* Maintain aspect ratio */
  display: block; 
  margin: 10px auto 0; /* Center the image and add space above */
}


/* Landscape mode for devices with a max-width of 908px */
@media screen and (max-width: 908px) and (orientation: landscape) {
  .image-header-container {
    height: 100vw; /* Use viewport width for height in landscape mode */
  }

  .header-logo {
    width: 200px;  /* Set desired width */
    height: auto;  /* Maintain aspect ratio */
    display: block; 
    margin: 10px auto 0; /* Center the image and add space above */
  }

  .header-text {
    color: white;
    font-size: 10px;
    margin: 2px;
  }
}



/* Wide screens (e.g., Galaxy Fold sideways) */
@media screen and (min-width: 1469px) {
  .image-header-container {
    height: 100vw; /* Use viewport width for height in landscape mode */
  }
}


/* Mobile view for screens up to 768px wide */
@media screen and (max-width: 768px) {
  .image-header-container {
    height: 100vh; /* Use viewport height for portrait mode */

  }


  .button-link {
    width: 200px; /* Fixed width for buttons */
    height: 50px;
    font-size: 14px;
  }

  .custom-column {
    flex: 1 1 100%; /* Each column takes 100% of width */
    max-width: 100%; /* Ensure each column does not exceed 100% width */
  }
  
  .button-link {
    border: 1px solid #ffffff;
  }

  .header-logo {
    width: 150px;  /* Set desired width */
    height: auto;  /* Maintain aspect ratio */
    display: block; 
    margin: 10px auto 0; 
  }

  .header-text {
    color: white;
    font-size: 10px;
    margin: 2px;
  }
    
}


@media (max-width: 978px) {
    .search-container {
        flex-direction: column; /* Stack elements vertically */
        text-align: center;
    }
    
    input[type="number"],
    input[type="text"] {
        width: 150px; /* Adjusted width for small screens */
        margin: 0 auto; /* Center the inputs */
    }
    
    label.left-align {
        justify-content: flex-start; /* Ensure it stays left-aligned */
        text-align: left;
        width: 150px;
    }
}




/* For Dynamic Button Grid Section */
.button-grid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Button Grid Styles */
.button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.button-text {
    margin-top: 0;
    padding: 20px;
    font-size: 12px;
}


.listing-office-info p {
    font-size: 6px;
}

/* Hide the listing office info by default 
.listing-office-info {
    display: none;
}
.show-listing-info {
    display: block;
}

*/


/* Button Item Styles */
.button-item {
    flex: 1 1 calc(33.33% - 16px);
    box-sizing: border-box;
    max-width: calc(33.33% - 16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0;
    border: none;
    background: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Ensure Button Elements Have No Borders */
.button-item button {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    outline: none; /* Removes default focus outline */
}

/* Ensure Image Within Button Has No Border */
.button-item img {
    width: 100px;
    height: auto;
    border: none;
}

/* Remove Focus and Active Styles for Button */
.button-item button:focus,
.button-item button:active {
    outline: none;
    border: none;
    box-shadow: none;
}

/* Remove Border When Button Is Clicked or Focused */
.button-item button:focus img,
.button-item button:active img {
    border: none;
}


.content-disclosure {
    font-size: 8px !important;
}


/* General Styles for Rental Services Text */
.rental-services h1, h2, p {
    padding: 10px;
    text-align: center;
}

/* Specific Styles for Rental Services Section */
.rental-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.rental-services-wrapper {
    width: 75%;
    max-width: 1200px;
    box-sizing: border-box;
    display: flex;           /* Added */
    flex-direction: column;  /* Added */
    align-items: center;     /* Added */
}

.rental-services p,
.rental-services h2 {
    margin: 0;
    text-align: center;
}


.requirements-container {
    display: flex;
    justify-content: space-between; /* Space between sections */
    width: 100%; /* Full width */
    max-width: 1200px; /* Limit max width */
    margin: 0 auto; /* Center the container */
}

.expandable-section {
    flex: 1; /* Allow sections to grow */
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background-color: #f9f9f9b8;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 50vw;
    margin: 20px auto;
}

/* Rest of your existing CSS remains the same... */
/* Text Color Classes */
.black-text {
    color: #000000;
    font-weight: 300;
    text-align: center;
    padding-top: 20px;
}

.black-text p {
    color: rgb(0, 0, 0);
}


.navy-blue-text {
    color: rgb(37, 71, 221);
    padding-top: 20px;
    text-align: center;
}

.warning-message {
    color: red;
    font-weight: bold;
    border: 2px solid red; /* Border color */
    background-color: #f8f8f8; /* Light background color */
    padding: 15px !important; /* Padding inside the box */
    border-radius: 5px; /* Rounded corners */
    font-size: 9px;
}



.light-red-text {
    color: #c0392b;
    font-weight: 300;
    text-align: center;
    padding-top: 20px;
}

.dark-red-text {
    color: #a91909;
    font-weight: bold;
    padding-top: 20px;
}

/* Custom Section Background */
.custom-section {
    background-size: cover;
    background-position: center;
    margin-top: 20px;
    padding: 20px;
}

/* Desktop layout: 3 rows with 4 columns */
.popup-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

.styled-line {
    margin-top: 15px;
    margin-bottom: 15px;
}

.popup-text p {
    margin-top: 5px;
    padding-top: 0;
    margin-bottom: 5px;
    padding-bottom: 0;
}

.popup-text {
    align-items: center;
    justify-content: center;
    align-content: center;
}

.popup-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.popup-gallery img {
    width: 150px;
    height: auto;
    cursor: pointer;
    transition: opacity 0.3s;
}

.popup-gallery img:hover {
    opacity: 0.8;
}

.contact-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.contact-button:hover {
    background-color: #0056b3;
}

.small-input {
    width: 50px;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background-color: #f9f9f9b8;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 50vw;
    margin: 20px auto;
}

.search-container input {
    padding: 10px;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
}

.search-container input:focus {
    border-color: white;
    outline: none;
}


.expand-button {
    width: 100%;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    color: #455a64bd;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.expand-button:hover {
    background-color: #e9ecef;
}

.expand-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.section-content {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 5px 5px;
    background-color: white;
}

/* Responsive adjustments */
@media screen and (max-width: 978px) {
    .language-toggle-container {
        flex-direction: column;
        text-align: center;
    }
    
    .language-toggle-container button {
        width: 150px;
    }

    .search-container {
        flex-direction: column;
        text-align: left;
    }

    input[type="number"],
    input[type="text"] {
        width: 150px;
        text-align: left;
    }
}


@media screen and (max-width: 500px) and (orientation: portrait) {

    .overlay-text {
      margin-top: 5px !important;
    }
    
    .button-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .content-disclosure {
        font-size: 8px !important;
    }
        
    .popup-text {
        font-size: 10px;
        white-space: normal;
        overflow-x: hidden;
        font-weight: normal;
    }

    .popup-row {
        display: grid;
        grid-gap: 10px;
        justify-content: center;
    }

    .popup-title {
        font-size: 12px;
        font-weight: bold;
        color: #000;
        display: block;
        text-align: center;
    }

    .popup-value {
        font-size: 10px;
        white-space: normal;
        overflow-wrap: break-word;
        text-align: center;
    }

    .popup-text p {
        white-space: normal;
        word-wrap: break-word;
    }
    
    .light-red-text h2 {
        font-size: 10px;
    }

    .requirements-container {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center align items */
    }

    .expandable-section {
        max-width: 100%; /* Allow full width on mobile */
        margin: 5px 0; /* Add some margin for spacing */
        font-size: 10px;
    }
    
    .expand-button {
        padding: 12px;
        font-size: 10px;
    }

    .section-content {
        padding: 15px;
    }

    .warning-message {
        font-size: 8px;
    }

    .listing-office-info p {
        font-size: 4px !important;
    }

}




/* Galaxy Fold - Folded /S9/S10 */
@media (max-width: 360px) and (max-height: 800px) {
  /* Styles for folded Galaxy Fold */
  .popup {
    max-width: 500px; /* Set a max-width to avoid being too large on wide screens */
  }
  
  iframe {
    width: 340px; /* Set width to trigger horizontal scrolling */
  }

}

/* Galaxy Fold - Unfolded */
@media (min-width: 361px) and (max-width: 768px) {
  /* Styles for unfolded Galaxy Fold */
  .popup {
    max-width: 748px; /* Set a max-width to avoid being too large on wide screens */
  }
  
  iframe {
    width: 748px; /* Set width to trigger horizontal scrolling */
  }

}



.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  border-radius: 12px;
  margin: 0 auto;
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  font-size: 14px;
  align-items: center;
  gap: 10px;
}
.btn-primary {
  background-color: #78909cbc;
  color: white;
}

.btn-primary:hover {
  background-color: #78909c;
}

.btn-icon {
  font-size: 1.2em;
}

.auth-subtitle {
  color: #6c757d;
  font-style: italic;
  margin-top: 10px;
}