
.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 #455a64bd;
}
.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;
  background-color: #78909cbc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.button-grid button:hover {
  background-color: #455a64bd;
}


/* 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;
}

  
/* 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-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;
  }


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



.site-header {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  /* HEADINGS */
  .main-heading {
    font-size: 24px;
    margin: 10px 0;
    font-weight: 500; /* Thicker weight for headings */
    background: none; /* Ensure no background color */
    padding: 0; /* Remove padding */
  }

  .sub-heading {
    font-size: 20px;
    margin: 25px 0; /* Add margin above and below to separate from main heading */
  }

  

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


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

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

*/

.search-container label {
    display: flex;
    align-items: center;
    gap: 5px; /* Space between checkbox and label text */
}

.small-input {
    width: 50px; /* Adjust the width to fit approximately 10 characters */
}

label {
    font-size: 12px; /* Set font size to 12px */
}


.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background-color: #f9f9f9; /* Light background for contrast */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    max-width: 70vw; /* Limit width */
    margin: 20px auto; /* Center the container */
}

.search-container input {
    padding: 10px;
    border: 2px solid white; /* Blue border */
    border-radius: 5px; /* Rounded input corners */
    font-size: 12px; /* Increase font size */
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: border-color 0.3s; /* Smooth transition for border color */
}

.search-container input:focus {
    border-color: white; /* Darker blue on focus */
    outline: none; /* Remove default outline */
}


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



.mls-search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 12px;
    padding-top: 7px;
    padding-bottom: 7px;
    color: #007bff;
    max-width: 200px; 
    border-radius: 7px;
    border: 1px solid #888f96; /* Changed border color to blue */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.1); /* Fixed box-shadow color */
    margin: 40px auto 80px; 
    text-align: center;
}

/* 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;

}

/* 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;
}


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


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

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

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



.contact-button {
    display: block; /* Ensures it takes up the full width of its container */
    margin: 20px auto; 
    padding: 10px 20px; 
    background-color: #007BFF; /* Button color */
    color: white; /* Text color */
    border: none; /* Remove border */
    border-radius: 5px; /* Optional: round the edges */
    text-align: center; 
    cursor: pointer; /* Change cursor on hover */
}

.contact-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}


/* Responsive Adjustments */
@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;
    }
        
    .main-heading {
        z-index: 1000; /* Ensure heading is below popup */
    }
        
    .popup-text {
        font-size: 10px; /* General text, smaller for mobile */
        white-space: normal; /* Allow paragraphs to wrap properly */
        overflow-x: hidden; /* Hide horizontal overflow */
        font-weight: normal; 
    }

    /* Ensure gallery is centered and items are 3 per row */
    .popup-row {
        display: grid;
        grid-gap: 10px; /* Add space between items */
        justify-content: center; /* Center the grid items */
    }

    /* Ensure titles are visible */
    .popup-title {
        font-size: 12px; /* Ensure title font size is slightly larger */
        font-weight: bold; /* Make sure titles are bold */
        color: #000; /* Set title color to black for visibility */
        display: block; /* Ensure titles are displayed as block */
        text-align: center; /* Center the title text */
    }

    /* Ensure full values for variables, no truncation */
    .popup-value {
        font-size: 10px; /* Keep variable values at 10px */
        white-space: normal; /* Ensure values are not cut off */
        overflow-wrap: break-word; /* Allow text to wrap */
        text-align: center; /* Center the values */
    }

    /* Ensure description displays fully as a paragraph */
    .popup-text p {
        white-space: normal; /* Allow paragraph wrapping */
        word-wrap: break-word; /* Wrap long words to avoid overflow */
    }

    .light-red-text h2 {
        font-size: 16px;
        font-weight: 500;
    }

    .mls-search {
        padding-top: 7px;
        margin: 40px auto 50px; 
    }

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

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

}


@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;700&display=swap');
/* Page Container */
.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;
}


.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 */
}



/* 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 {
  padding: 20px 0;
  font-size: 12px; /* General text, smaller for mobile */
  align-items: center;
  justify-content: center;
  align-content: center;
}

.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;
}


.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);
}


  .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;
  }


.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 */
}

/* Placeholder style */
.placeholder {
  display: flex; /* Use flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  height: 50vh; /* Take up the full viewport height */
  width: 100vw; /* Take up the full viewport width */
  text-align: center; /* Center text horizontally */
  z-index: 1000;
}


.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;
    }
}




/* 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 */
  }

}

.user-info{
  margin-top: 20px;
  margin-bottom: 20px;
}

.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;
}



/* Expandable section*/

/* 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;
}



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

.expand-button {
  width: 100%;
  padding: 15px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  cursor: pointer;
  color: #455a64bd;
  display: flex;
  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;
}



@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;
  }

}



