* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
}

.layout {
  display: grid;
  grid-template-columns: auto 1fr;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 70px;
  background-color: #111;
  color: white;
  height: 100vh;
  position: sticky;
  top: 0;
  transition: width 0.3s ease;
  overflow: hidden;
}
.sidebar:hover {
  width: 220px;
}

.logo {
  text-align: center;
  padding: 1rem 0;
}
.logo img {
  width: 40px;
  transition: all 0.3s ease;
  border-radius: 50px;
  border: 2px solid #ccc;
}
.sidebar:hover .logo img {
  width: 80%;
  border: 2px solid #fcb900;
  border-radius: 100px;
}

.nav {
  display: flex;
  flex-direction: column;
}
.nav a {
  color: #ccc;
  padding: 1rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
  white-space: nowrap;
}
.nav a i {
  min-width: 30px;
  text-align: center;
  font-size: 18px;
}
.nav a span {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sidebar:hover .nav a span {
  opacity: 1;
  pointer-events: auto;
  margin-left: 10px;
}
.nav a:hover {
  background-color: #fcb900;
  color: black;
}

/* Main Content */
.main-content {
  overflow-y: auto;
  height: 100vh;
}
/* Footer */
.footer {
  background-color: #111;
  color: #eee;
  padding: 2rem 1.5rem;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 200px;
  min-width: 220px;
}

.footer h3,
.footer h4 {
  color: #fcb900;
  margin-bottom: 0.8rem;
}

.footer p,
.footer a,
.footer li {
  color: #ccc;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #fcb900;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-contact p i,
.footer-social a i {
  margin-right: 10px;
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #fcb900;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #888;
}
 .phone-dial {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: #57595d;
  color: white;
  padding: 12px 0;
  font-size: 18px;
  border-radius: 150px;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.phone-dial i {
  margin-right: 8px;
}

.phone-dial:hover {
  background-color: #1ebe5b;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 50px;
  z-index: 1000;
  height: 100px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-float a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.whatsapp-float a:hover {
  background-color: #1ebe5b;
}
.chat-tooltip {
  position: absolute;
  right: 70px;
  bottom: 50%;
  transform: translateY(50%);
  background-color: #ffffff;
  color: #333;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

/* Chat bubble arrow */
.chat-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}
/* Show on hover */
.whatsapp-float a:hover .chat-tooltip {
  opacity: 1;
  transform: translateY(50%) translateX(-5px);
  pointer-events: auto;
}
.page-title {
  background-color: #111;
  color: #fcfbf9;
  text-align: center;
  padding: 1rem;
  font-size: 1.2rem; /* smaller */
  letter-spacing: 5px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeSlideIn 1s ease forwards;
}
@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.spotlight-section {
  height: 80vh; /* full height */
  text-align: center;
  padding: 0;
}

.spotlight-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.spotlight-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.90) contrast(1.2);
}
.spotlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 200px at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.3) 0%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
  transition: background 0.05s ease-out;
}
.properties {
  padding: 3rem 1rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0f2027, #6a7275, #2c5364);
  background-size: cover;
  min-height: 50vh;
}

.properties h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.properties-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.property-card {
  position: relative;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.property-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.property-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.property-card:hover::before {
  background: rgba(0, 0, 0, 0.2);
}

.property-info {
  position: relative;
  z-index: 1;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
}

.property-info h3 {
  margin: 0;
  font-size: 1.2em;
}

.property-info p {
  margin: 5px 0;
  font-size: 0.9em;
}

.property-info .price {
  font-weight: bold;
  font-size: 1em;
}

.feedback {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  margin: 3rem auto;
  max-width: 500px;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  color: #fff;
  background-color: rgba(0,0,0,0.7);
}

.feedback p {
  margin-bottom: 1.5rem;
  color: #ccc;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1rem;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: #aaa;
}

.feedback-form button {
  background: linear-gradient(90deg, #fcb900, #ffd700);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.feedback-form button:hover {
  background: #fff;
  color: #111;
}

.rating {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 2rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.rating span:hover,
.rating span.active {
  transform: scale(1.2);
  transition: 0.2s ease;
}
.section-divider-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 3rem auto;
  color: #f0eeea;
  font-weight: bold;
  font-size: 1.1rem;
  max-width: 90%;
  width: 100%;
  gap: 15px;
}

.section-divider-text::before,
.section-divider-text::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #e7e5e0;
  opacity: 0.4;
}

.section-divider-text span {
  white-space: nowrap;
}

@media (max-width: 810px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }
  .section-divider-text span{
    font-size: 1rem;
    margin: 1rem auto;
    gap: 10px;
  }
}
@media (max-width: 520px) {
  .sidebar {
      width: 55px;
  }
  .nav span {
      font-size: 1rem;
  }
  .nav a {
      padding: 0.8rem;
  }
  .sidebar:hover {
      width: 180px;
  }
  .sidebar:hover .logo img {
      width: 40%;
      border-radius: 50px;
  }
  .sidebar:hover .nav a span{
      font-size: 0.9rem;
  }
 }
@media (max-width: 428px) {
  .page-title h1 {
    font-size: 1.1rem;
    margin-left: -20px;
  }
  .section-divider-text {
    margin: 0.5rem;
    margin-bottom: -30px;
  }
  .section-divider-text span {
    display: inline-block;
  }
  .properties h2 {
    font-size: 1.5rem;
  }
}
@media (max-width: 412px) {
  .page-title h1{
    font-size: 1.0rem;
    margin-left: -20px;
  }
}
@media (max-width: 375px) {
  .page-title h1{
    font-size: 0.9rem;
    margin-left: -20px
  }
}
