/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html,
body {
  height: 100%;
  background-color: #f5f5f5;
}

.floatleft {
  float: left;
}

.floatright {
  float: right;
}

.alignleft {
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
}

.alignright {
  float: right;
  margin-left: 15px;
  margin-bottom: 15px;
}

.aligncenter {
  display: block;
  margin: 0 auto 15px;
}

a:focus {
  outline: 0px solid;
}

img {
  max-width: 100%;
  height: auto;
}

.fix {
  overflow: hidden;
}

a {
  transition: all 0.3s ease 0s;
  text-decoration: none;
}

a:hover {
  color: #132a12;
  text-decoration: none;
}

a:active,
a:hover {
  outline: 0 none;
}

body {
  background: #f5f5f5 none repeat scroll 0 0;
  color: rgb(19, 53, 19);
  font-size: 14px;
  text-align: left;
  overflow-x: hidden;
  line-height: 22px;
  font-family: 'Montserrat', sans-serif;
}




/*--------------------------------------------------------------
# Preloader 
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #f5f5f5 url("../img/logo.png") no-repeat center center;
  background-size: 100px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Preloader */
@media (max-width: 768px) {
  #preloader {
    background-size: 80px;
  }
}

@media (max-width: 480px) {
  #preloader {
    background-size: 60px;
  }
}



/*--------------------------------------------------------------
# NAVBAR
--------------------------------------------------------------*/
#header {
  height: 60px;
  transition: all 0.5s;
  z-index: 997;
  background: #f5f5f5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

#header .logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

#header .logo h1 span {
  color: #3ec1d5;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #fff;
  text-decoration: none;
}
#header .logo{
  margin-left: 70px;  
  margin-right: 50px;
}
#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 60px;
  
}



.header-bg {
  background: url(../img/background/page-header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  padding: 120px 0 60px;
}

.header-bg::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}




/* General Navbar Styling (unchanged for larger screens) */
.navbar {
  padding: 0;
  margin-right: 70px;
  position: relative;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a {
  display: flex;
  align-items: center;
  padding: 17px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: black;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover, .navbar a.active {
  background-color: #1c3720;
  color: white;
}

/* Dropdown Menu */
.navbar ul li.dropdown ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  min-width: 200px;
}

.navbar ul li.dropdown:hover > ul {
  display: block;
}

.navbar ul li.dropdown ul li a {
  padding: 10px 20px;
  color: #333;
  background: transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar ul li.dropdown ul li a:hover {
  background: #1c3720;
  color: white;
  border-radius: 5px;
}


/* MOBILE RESPONSIVENESS */
.mobile-nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

/* Hide navbar by default on mobile */
@media (max-width: 991px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .navbar.active {
    transform: translateX(0);
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
  }

  .navbar ul li {
    width: 100%;
  }

  .navbar a {
    width: 100%;
    padding: 15px;
    font-size: 18px;
  }
}


  
  .navbar ul li.dropdown ul {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background: none;
  }

  .navbar ul li.dropdown.active > ul {
    display: block;
  }

  .navbar ul li.dropdown ul li a {
    padding-left: 30px;
  }
}

/* Close button styles */
.close-nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
  z-index: 1001;
}

/* Show close button when mobile menu is open */
@media (max-width: 991px) {
  .close-nav-toggle {
    display: block;
  }
}






/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px; 
  box-sizing: border-box;
}

/* Popup Content */
.popup-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  width: 100%;
  max-width: 800px;
  text-align: justify;
  font-size: 18px;
  border-radius: 10px;
  color: #1c3720;
  font-weight: bold;
  box-sizing: border-box;
}

/* Button Styling */
#agreeButton {
  background-color: #1c3720;
  color: white;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  border-radius: 5px;
  display: block;
  margin: 20px auto 0;
  font-size: 16px;
  transition: background-color 0.3s ease-in-out;
}

#agreeButton:hover {
  background-color: #14312b;
}

/* Responsive Text & Padding */
@media (max-width: 768px) {
  .popup-content {
    font-size: 16px;
    padding: 20px;
  }

  #agreeButton {
    font-size: 15px;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .popup-content {
    font-size: 15px;
    padding: 15px;
  }

  #agreeButton {
    font-size: 14px;
    width: 100%;
  }
}




/*--------------------------------------------------------------
IMAGE
--------------------------------------------------------------*/
.hero-section {
  text-align: left;
  padding: 50px 10px;
  max-width: 1500px;
  margin: 0 auto;
  margin-top: 30px;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
/*--------------------------------------------------------------
FAQ Section 
--------------------------------------------------------------*/
.faq-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 30px 8%;
}

.faq-item {
  border-bottom: 1px solid #1c3720;
  padding: 10px 0;
  transition: background 0.3s ease;
  margin: 0; 
  padding-left: 5%;
  padding-right: 5%;
}




/* FAQ Question */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 24px;
  font-weight: 600;
  text-align: left;
  color: #1c3720;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #4a7c59;
}

/* Expand/Collapse Arrow */
.faq-question::after {
  content: '\25BC';
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.3s ease-in-out;
  font-size: 20px;
  color: #333;
  line-height: 1.6;
  padding: 0 4%;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .faq-container {
    padding: 25px 5%;
  }
  .faq-question {
    font-size: 22px;
  }
  .faq-answer {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .faq-container {
    padding: 20px 5%;
  }
  .faq-question {
    font-size: 20px;
  }
  .faq-answer {
    font-size: 16px;
  }
}



/* Chatbot Floating Button */
#chatbot-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #1c3720;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

#chatbot-btn:hover {
  background: #1c3720;
}

/* Chatbox Container */
#chatbot {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  font-family: 'Arial', sans-serif;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

/* Chat Header */
#chat-header {
  background: #1c3720;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  position: relative;
}

/* Close Button */
#close-chat {
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  font-size: 18px;
  color: white;
}

/* Chat Body */
#chat-body {
  padding: 12px;
  height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f9f9f9;
}

/* Chat Messages Wrapper */
#chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

/* Chat Messages */
.chat-message {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  display: inline-block;
  opacity: 0;
  animation: fadeIn 0.3s ease-in forwards;
}

/* User Messages (Right Side) */
.user {
  background: #1c3720;
  color: white;
  align-self: flex-end;
  text-align: right;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 18px;
  border-top-left-radius: 18px;
  margin-left: auto;
}

/* Bot Messages (Left Side) */
.bot {
  background: #fff;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 18px;
  border-top-right-radius: 18px;
  margin-right: auto;
  border: 2px solid #e6a500;
}

/* Inquiry Link for Unanswered Questions */
.bot a {
  color: #333;
  font-weight: bold;
  text-decoration: underline;
}

/* Chat Input */
.chat-footer {
  display: flex;
  border-top: 1px solid #ddd;
  padding: 8px;
  background: #fff;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  outline: none;
}

#send-btn {
  margin-left: 8px;
  padding: 10px 15px;
  background: #e6a500;
  color: #1c3720;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

#send-btn:hover {
  background: #d48f00;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  #chatbot {
    width: 90%;
    bottom: 100px;
    right: 5%;
  }
}









/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/
.footer-area {
  padding: 20px 0;
  background: #f5f5f5;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

/* Footer Columns */
.footer-column {
  flex: 1;
  padding: 20px;
  min-width: 280px;
  text-align: left;
}

/* Center the second column (Logo) */
.footer-column:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Footer Content */
.footer-content h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: black;
  text-transform: uppercase;
  font-weight: 800;
}

.footer-content p {
  color: black;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Contact Details */
.footer-contacts p span {
  font-weight: bold;
}

/* Footer Logo */
.footer-logo-image {
  width: 120px;
  margin: 20px auto 0;
  display: block;
}

/* Property Section */
.property-section1 {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.property-section1 h4 {
  margin-right: 65px;
}

/* Property Links */
.property-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.property-links li {
  margin-bottom: 8px;
}

.property-links li a {
  color: black;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.property-links li a:hover {
  color: #2a4d34;
  text-decoration: underline;
}

/* Bottom Footer Area */
.footer-area-bottom {
  background: #f5f5f5;
  padding: 5px 0;
  text-align: center;
}

.copyright p {
  color: #1c3720;
  margin: 0;
}

/* Footer Image */
.footer-bottom-image {
  width: 100%;
  margin-top: 20px;
}

.footer-bottom-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Footer Title */
.footer-logo-title {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
}

.footer-logo-title span {
  color: #1c3720;  
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
}

.footer-logo-title strong {
  color: black;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
}

/*--------------------------------------------------------------
# RESPONSIVE STYLES
--------------------------------------------------------------*/

/* Tablets & Small Screens */
@media (max-width: 991px) {
  .footer-area {
    flex-direction: column;
    align-items: center;
  }
  .footer-column {
    text-align: center;
    min-width: 100%;
  }
  .property-section1 {
    align-items: center;
    margin-left: 0;
  }
  .property-section1 h4 {
    margin-right: 0;
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  .footer-column {
    min-width: 100%;
    padding: 10px;
  }
  .footer-logo-image {
    width: 100px;
  }
  .footer-logo-title {
    font-size: 30px;
  }
}

