body {
  margin: 0;
  font-family: Arial, sans-serif;
}

header {
  display: flex;
  justify-content: space-between; /* Adjusted for better spacing */
  align-items: center;
  padding: 10px 20px;
  background-color: #f3f3f3;
  flex-wrap: wrap; /* Allows items to wrap in smaller screens */
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* Allows items within to wrap */
}

.header-left {
  justify-content: flex-start;
}

.header-right {
  justify-content: flex-end;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}



.header-left .contact-number {
  font-size: 20px; /* Larger font size for contact number */
  font-weight: bold;
  color: #2F4F4F;
}

.company-logo {
  max-height: 100px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap; /* Allows navigation items to wrap */
}

nav ul li {
  margin-left: 25px;
  white-space: nowrap;
}

nav ul li a {
  text-decoration: none;
  color: #2F4F4F;
}

nav ul li a:hover {
  text-decoration: underline;
}

.social-icon {
  margin-left: 15px;
  font-size: 24px; /* Icon size */
}

.social-icon:hover {
  opacity: 0.8; /* Slightly reduce opacity on hover for a subtle effect */
}
/* Facebook icon color */
.social-icon.facebook i {
  color: #4267B2; /* Facebook's brand blue */
}
/* Instagram icon color */
.social-icon.instagram i {
  color: #C13584; /* Instagram's brand pinkish color */
}
/* Media query for smaller screens */
@media (max-width: 768px) {
  .header-left, .header-right {
    justify-content: center;
    padding: 10px 0; /* Adds padding on top and bottom for spacing */
  }

  nav ul {
    justify-content: center; /* Centers nav items on smaller screens */
  }

  .header-left select, .header-left .contact-number, .social-icon {
    margin: 5px; /* Reduces margin for smaller screens */
  }
}


/* Hero Section Styles */
.hero-section {
  background-size: cover; /* or 'contain' if you want to maintain the aspect ratio */
  background-position: center; /* Center the background image */
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Ensure the container of the hero content uses flexbox for responsiveness */
.hero-slideshow {
  display: flex;
  flex-direction: column; /* Stack the title and the slides vertically */
  justify-content: center;
  align-items: center;
  height: 90vh; /* Adjust height as needed */
  position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content {
    top: 30%; /* You might want to adjust this for smaller screens */
    font-size: 1.5em; /* Adjust the font size of the title for smaller screens */
  }
}


.mySlides {
  position: relative; /* Allows absolute positioning inside */
}

.slide-buttons {
  display: flex; /* Use Flexbox */
  flex-direction: column; /* Stack buttons vertically */
  align-items: center; /* Center buttons horizontally */
  justify-content: center; /* Center buttons vertically (if there's height available) */
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  gap: 10px; /* Adds space between buttons */
}

.slide-buttons button {
  padding: 10px 20px; /* Increase padding to make buttons larger */
  font-size: 16px; /* Adjust font size for better readability */
  margin: 0; /* Remove margin to control spacing with gap property */
  display: block; /* Stack buttons vertically */
}

@media (min-width: 768px) { /* Adjust the breakpoint as needed */
  .slide-buttons {
    flex-direction: row; /* Align buttons side by side */
    justify-content: center; /* Adjust alignment as needed */
    gap: 20px; /* Increase gap for better spacing on larger screens */
  }
}

.hero-title {
  font-size: 3em; /* Adjust base font size */
  margin-bottom: 1em;
}

@media (max-width: 768px) { /* Adjust for smaller screens */
  .hero-title {
    font-size: 1.5em; /* Smaller font size on smaller screens */
  }
}
.hero-buttons button {
  margin: 0.5em;
  padding: 0.75em 1.5em;
  font-size: 1em;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.hero-buttons button:hover {
  background-color: #ce4242; /* Example hover effect */
  color: black;
}


/* Initial state of the buttons - hidden */
.hero-buttons button {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* State of the buttons when they become visible */
.hero-buttons button.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Ensure the container of the hero content uses flexbox for responsiveness */
.hero-flexbox {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  justify-content: center; /* Centers items horizontally */
  align-items: center; /* Centers items vertically */
  height:   105vh; /* Adjust height as needed, but ensure it does not exceed the viewport height */
  position: relative;
  overflow: hidden; /* Prevents content from overflowing outside the container */
}

/* Adjust the hero content container */
.hero-content {
  position: absolute;
  top:  38%; /* Adjust this value to move the title higher or lower */
  left:  50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: rgb(205,  78,  35);
  z-index:  2;
  width:  100%; /* Ensure the content width matches the container */
  max-width:  100%; /* Ensure the content does not exceed the container width */
}

/* Responsive adjustments for mobile */
@media (max-width:  768px) {
  .hero-flexbox {
    height: auto; /* Adjust height as needed for mobile */
  }

  .hero-content {
    position: static; /* Use static positioning to flow naturally in the document flow */
    transform: none; /* Remove transform */
    top: auto; /* Reset top position */
    left: auto; /* Reset left position */
    margin-bottom:  20px; /* Add some space between the hero content and the buttons */
  }
}

/* Other styles remain unchanged */


/* Other styles remain unchanged */


.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* Video Section Styles */
.video-section {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for responsiveness */
  justify-content: center; /* Center items */
  gap: 20px; /* Space between videos */
  padding: 20px;
  margin-top: 30px;
}

.video-container {
  flex: 1; /* Flex grow to fill available space */
  max-width: 45%; /* Max width for each video container */
  padding: 20px;
}

video {
  width: 100%; /* Full width of its container */
  height: auto; /* Adjust height automatically */
}

/* Adjust video containers for smaller screens */
@media (max-width: 768px) {
  .video-container {
    max-width: 100%; /* Full width on smaller screens */
  }
}

.video-title {
  font-size: 1.8rem; /* Slightly larger font size */
  color: #333;
  margin-bottom: 15px;
}

video {
  width: 100%;
  height: auto;
  border-radius: 8px; /* Rounded corners for videos */
}
/* Styling for expanded video */
video.expanded {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000; /* Ensure it's on top of other content */
  background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent black background */
}

video.expanded:hover {
  cursor: zoom-out; /* Show zoom-out cursor on hover */
}

#building .floor:hover {
  background-color: #e0e0e0; /* hover effect */
  /* other hover styles */
}
.apartment-section {
  display: flex;
  justify-content: space-between;
  padding: 50px 20px;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.apartment-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
}

.content-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.apartment-sketch {
  position: relative;
  width: 100%; /* Ensure this is wide enough to accommodate both rows */
}

.building-sketch {
  width: 100%;
  height: auto;
}

.floors .floor {
  position: absolute;
  width: 39mm;
  height: 12mm;
  background-color: rgba(228, 155, 121, 0.309); /* Blue with 50% transparency */
  color: rgb(0, 0, 0);
  text-align: center;
  line-height: 14mm; /* Adjusted for consistency */
  left: 1%; /* Position for the first row */
  display: none;
  text-decoration: none;
  box-sizing: border-box; /* Include padding and borders in the width */
}

.floors .floor-row-2 {
  width: 28mm; /* Slightly smaller width */
  height: 12mm; /* Slightly smaller height */
  line-height: 12mm; /* Adjusted line height for consistency
.floors .floor-row-2 {
  left: calc(50mm + 1mm); /* Adjust this value based on the actual width of the boxes and desired spacing */
}

.floors .floor:hover, .floors .floor-row-2:hover {
  background-color: #e0e0e0;
}

.apartment-sketch:hover .floor, .apartment-sketch:hover .floor-row-2 {
  display: block;
}
:root {
  --floor-row-2-vertical-adjustment: -85mm; /* Default adjustment */
}

.floors .floor-row-2 {
  /* ... other styles ... */
  top: var(--floor-row-2-vertical-adjustment); /* Use the custom property */
}
.floors .floor-row-2-third {
  left: calc(17.5% + 113.385826772px); /* Adjust the left position */
}
.floors .floor-row-4 {
  left: calc(18.5% + 113.385826772px * 2); /* Position 3 cm to the right of floor-row-2-third */
  top: var(--floor-row-4-vertical-adjustment); /* Use a custom property for vertical adjustment */
}

:root {
  --floor-row-4-vertical-adjustment: -237.5mm; /* Default vertical adjustment for floor-row-4 */
}
.floors .floor-row-4 {
  position: absolute;
  width: 33mm; /* You can adjust this as needed */
  height: 12mm; /* You can adjust this as needed */
  background-color: rgba(228, 155, 121, 0.309); /* Blue with 50% transparency */
  color: rgb(0, 0, 0);
  text-align: center;
  line-height: 14mm; /* Adjusted for consistency */
  left: calc(17.5% + 113.385826772px * 2); /* Position 3 cm to the right of floor-row-2-third */
  display: block; /* Change this as per your requirement */
  text-decoration: none;
  box-sizing: border-box; /* Include padding and borders in the width */
  top: var(--floor-row-4-vertical-adjustment); /* Use a custom property for vertical adjustment */
}
.floors .floor-row-4 {
  /* ... other styles ... */
  display: none; /* Initially hidden */
}
.apartment-sketch:hover .floor-row-4 {
  display: block;
}
:root {
  --floor-row-5-vertical-adjustment: -318.5mm; /* Default vertical adjustment for floor-row-5 */
  --floor-row-5-horizontal-adjustment: 54%; /* Default horizontal adjustment for floor-row-5 */
}

.floors .floor-row-5 {
  position: absolute;
  width: 26mm; /* Adjustable width */
  height: 12mm; /* Adjustable height */
  background-color: rgba(228, 155, 121, 0.309); /* Blue with 50% transparency */
  color: rgb(0, 0, 0);
  text-align: center;
  line-height: 14mm; /* Adjusted for consistency */
  left: var(--floor-row-5-horizontal-adjustment); /* Use a custom property for horizontal adjustment */
  top: var(--floor-row-5-vertical-adjustment); /* Use a custom property for vertical adjustment */
  display: none; /* Initially hidden */
  text-decoration: none;
  box-sizing: border-box; /* Include padding and borders in the width */
}

.apartment-sketch:hover .floor-row-5 {
  display: block;
}

:root {
  --floor-row-6-vertical-adjustment: -390mm; /* Default vertical adjustment for floor-row-6 */
  --floor-row-6-horizontal-adjustment: 66.5%; /* Default horizontal adjustment for floor-row-6 */
}

.floors .floor-row-6 {
  position: absolute;
  width: 28mm; /* Adjustable width */
  height: 12mm; /* Adjustable height */
  background-color: rgba(228, 155, 121, 0.309); /* Blue with 50% transparency */
  color: rgb(0, 0, 0);
  text-align: center;
  line-height: 14mm; /* Adjusted for consistency */
  left: var(--floor-row-6-horizontal-adjustment); /* Use a custom property for horizontal adjustment */
  top: var(--floor-row-6-vertical-adjustment); /* Use a custom property for vertical adjustment */
  display: none; /* Initially hidden */
  text-decoration: none;
  box-sizing: border-box; /* Include padding and borders in the width */
}

.apartment-sketch:hover .floor-row-6 {
  display: block;
}
:root {
  --floor-row-7-vertical-adjustment: -479mm; /* Default vertical adjustment for floor-row-7 */
  --floor-row-7-horizontal-adjustment: 75%; /* Default horizontal adjustment for floor-row-7 */
}

.floors .floor-row-7 {
  position: absolute;
  width: 36mm; /* Adjustable width */
  height: 12mm; /* Adjustable height */
  background-color: rgba(228, 155, 121, 0.309); /* Blue with 50% transparency */
  color: rgb(0, 0, 0);
  text-align: center;
  line-height: 14mm; /* Adjusted for consistency */
  left: var(--floor-row-7-horizontal-adjustment); /* Use a custom property for horizontal adjustment */
  top: var(--floor-row-7-vertical-adjustment); /* Use a custom property for vertical adjustment */
  display: none; /* Initially hidden */
  text-decoration: none;
  box-sizing: border-box; /* Include padding and borders in the width */
}

.apartment-sketch:hover .floor-row-7 {
  display: block;
}
:root {
  --floor-row-8-vertical-adjustment: -565mm; /* Default vertical adjustment for floor-row-8 */
  --floor-row-8-horizontal-adjustment: 90.5%; /* Default horizontal adjustment for floor-row-8 */
}

.floors .floor-row-8 {
  position: absolute;
  width: 29mm; /* Adjustable width */
  height: 12mm; /* Adjustable height */
  background-color: rgba(228, 155, 121, 0.309); /* Blue with 50% transparency */
  color: rgb(0, 0, 0);
  text-align: center;
  line-height: 14mm; /* Adjusted for consistency */
  left: var(--floor-row-8-horizontal-adjustment); /* Use a custom property for horizontal adjustment */
  top: var(--floor-row-8-vertical-adjustment); /* Use a custom property for vertical adjustment */
  display: none; /* Initially hidden */
  text-decoration: none;
  box-sizing: border-box; /* Include padding and borders in the width */
}

.apartment-sketch:hover .floor-row-8 {
  display: block;
}
/* Hide floors on mobile devices */
@media (max-width:  768px) {
  .floors {
    display: none;
  }
}

/* Show floors on desktop devices */
@media (min-width:  769px) {
  .floors {
    display: block; /* or flex, grid, etc., depending on your layout */
  }
}


.service-highlighter {
  padding: 50px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.section-title {
  font-size: 2.5rem;
  color: hsl(0, 0%, 20%);
  margin-bottom: 30px;
}

.services {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(172, 96, 26, 0.864);
  padding: 20px;
  margin: 10px;
  width: 30%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
}

.service h3 {
  color: #36454F;
  margin-bottom: 15px;
}

.service p {
  color: #666;
  font-size: 1rem;
}

.service-details {
  display: none;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #444;
  text-align: left;
}

@media (max-width: 768px) {
  .services {
      flex-direction: column;
  }
  .service {
      width: 80%;
      margin: 10px auto;
  }
}

.service-image {
  width: 100%;
  height: auto;
  border-top-left-radius: 10px; /* Match the border-radius of the service box */
  border-top-right-radius: 10px;
  object-fit: cover; /* Ensures the image covers the area nicely */
  display: block; /* Removes any default inline spacing */
  margin-bottom: 15px; /* Space between image and text content */
}
.see-more-btn {
    padding: 10px 20px;
    background-color: #2F4F4F; /* Adjust the color to match your site's theme */
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px; /* Space above the button */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.see-more-btn:hover {
    background-color: #1e1e1e; /* Darker shade on hover */
}
.service {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px #015e0d;
  padding: 20px;
  margin: 5px; /* Keeping the margin small */
  width: calc((80% / 3) - 10px); /* Adjusting width for 3 columns */
  cursor: pointer;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .service {
      width: calc(100% - 10px); /* Full width for smaller screens */
  }
}
footer {
  background-color: #0d4414;
  color: white;
  text-align: center;
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.footer-section h3 {
  margin-bottom: 15px;
}

.footer-section p {
  margin: 5px 0;
}

.footer-section p a {
  color: #ffffff;
  text-decoration: none;
}

.footer-section p a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding: 10px 0;
  font-size: 0.8em;
}

@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
  }
  
  .footer-section {
      margin-bottom: 20px;
  }
}

.header-left {
  display: flex; /* Establish flex container */
  flex-wrap: wrap; /* Allow items to wrap */
  align-items: center; /* Align items vertically */
  gap: 10px; /* Space between items */
}

.contact-number, .social-icon {
  margin-right: 10px; /* Space between contact number and social icons */
}

@media (max-width: 768px) {
  .header-left {
      flex-direction: column; /* Stack items vertically on smaller screens */
      align-items: start; /* Align items to the start of the container */
  }

  .contact-number, .social-icon {
      margin-right: 0; /* Remove right margin on smaller screens */
      margin-bottom: 5px; /* Add bottom margin for spacing */
  }
}

/* General adjustments for responsiveness */
:root {
  --floor-box-width: 5%; /* Adjust based on layout */
  --floor-box-height: auto; /* Height is auto to maintain aspect ratio */
}
/* Responsive floor boxes */
.floors .floor, .floors .floor-row-2, .floors .floor-row-3, .floors .floor-row-4, .floors .floor-row-5, .floors .floor-row-6, .floors .floor-row-7, .floors .floor-row-8 {
  width: var(--floor-box-width);
  height: var(--floor-box-height);
  aspect-ratio: 3 / 1; /* Adjust based on your desired aspect ratio */
  font-size: calc(1vw + 1vh + 1vmin) / 3; /* Responsive font size */
  display: flex; /* Use flex to center content */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-decoration: none;
  box-sizing: border-box; /* Include padding and borders in the width */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  :root {
    --floor-box-width: 20%; /* Larger size for smaller screens */
  }

  .floors .floor, .floors .floor-row-2, .floors .floor-row-3, .floors .floor-row-4, .floors .floor-row-5, .floors .floor-row-6, .floors .floor-row-7, .floors .floor-row-8 {
    width: var(--floor-box-width);
  }
}

/* Adjustments for hover effects */
.apartment-sketch:hover .floor, .apartment-sketch:hover .floor-row-2, .apartment-sketch:hover .floor-row-3, .apartment-sketch:hover .floor-row-4, .apartment-sketch:hover .floor-row-5, .apartment-sketch:hover .floor-row-6, .apartment-sketch:hover .floor-row-7, .apartment-sketch:hover .floor-row-8 {
  display: flex; /* Ensure they are visible and flex-aligned on hover */
}