/* General Styles */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

.section {
  padding: 50px 20px;
  text-align: center;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #222;
}

/* Header / Hero Section Styles */
header {
  /* Simulate background image with a gradient overlay on dynamic Unsplash luxury apartment image */
  background: linear-gradient(rgba(10, 43, 75, 0.7), rgba(26, 77, 115, 0.7)),
    url('https://source.unsplash.com/1920x1080/?luxury,apartment,interior');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.slogan {
  font-size: 1.5em;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00bcd4;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0097a7;
}

.language-selector {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.language-option {
  color: #fff;
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.language-option:hover {
  border-color: #fff;
}

.language-option.active {
  font-weight: bold;
  border-color: #fff;
}

/* Styles for Host Login Button and Modal */
.host-login-button {
  padding: 10px 15px;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
  margin-left: 20px;
}

.host-login-button:hover {
  background-color: #5a6268;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
}

.close-button {
  position: absolute;
  top: 0;
  right: 0;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  padding: 5px 10px;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#host-login-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#host-login-form input {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

/* Navigation Styles */
nav.desktop-nav {
  display: none;
}

.mobile-nav {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.mobile-nav .hamburger-menu {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  padding: 0;
}

.mobile-nav .mobile-nav-list {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #0a2b4b;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 200px;
  text-align: right;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mobile-nav .mobile-nav-list li {
  padding: 10px;
}

.mobile-nav .mobile-nav-list li a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.mobile-nav .mobile-nav-list li a:hover {
  background-color: #1a4d73;
}

.mobile-nav .mobile-nav-list.active {
  display: block;
}

/* Updated Benefits Section Styles */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card i {
  font-size: 2em;
  color: #00bcd4;
  margin-bottom: 10px;
}

.card h3 {
  margin-bottom: 10px;
  color: #222;
}

/* How It Works Section Styles */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.step {
  width: 300px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.step-number {
  position: absolute;
  top: -10px;
  left: -10px;
  background-color: #00bcd4;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.step h3 {
  margin-bottom: 10px;
  color: #222;
}

/* Pricing Section Styles */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.pricing-column {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing-column h3 {
  margin-bottom: 10px;
  color: #222;
}

.price {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #00bcd4;
}

.pricing-column ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.pricing-column li {
  margin-bottom: 10px;
}

.select-plan-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00bcd4;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.select-plan-button:hover {
  background-color: #0097a7;
}

/* Contact Section Styles */
#contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contact-form input,
#contact-form textarea,
#contact-form select {
  width: 300px;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

#contact-form textarea {
  resize: vertical;
  height: 150px;
}

.submit-button {
  padding: 10px 20px;
  background-color: #00bcd4;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1em;
}

.submit-button:hover {
  background-color: #0097a7;
}

.contact-details {
  margin-top: 20px;
  text-align: center;
  color: #777;
}

/* Incidents Section Styles */
#incidents {
  background-color: #f9f9f9;
}

.incidents-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.incident-category {
  width: 100%;
  max-width: 800px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-header {
  background-color: #00bcd4;
  color: #fff;
  padding: 15px;
  text-align: left;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.category-header:hover {
  background-color: #0097a7;
}

.category-header i {
  margin-right: 10px;
  font-size: 1.5em;
}

.incident-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #fff;
  display: none;
}

.incident-list.active {
  display: block;
}

.incident-list li {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.incident-list li:last-child {
  border-bottom: none;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* WhatsApp Button Styles */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  text-decoration: none;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  /* Ensure it's on top */
}

.whatsapp-button:hover {
  background-color: #128c7e;
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
  .section {
    padding: 80px 20px;
  }

  .cards-container,
  .steps-container,
  .pricing-table,
  .testimonials-container {
    justify-content: space-around;
  }

  .card,
  .step,
  .pricing-column,
  .testimonial {
    width: 350px;
  }

  .incidents-container {
    padding: 30px;
  }
}

@media (min-width: 992px) {
  header {
    padding: 150px 20px;
  }

  header h1 {
    font-size: 4em;
  }

  .slogan {
    font-size: 1.8em;
  }

  nav.desktop-nav {
    display: block;
  }

  .mobile-nav {
    display: none;
  }

  nav.desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  nav.desktop-nav ul li {
    display: inline;
    margin: 0 20px;
  }

  nav.desktop-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
  }

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