/* =========================
   Root Variables
========================= */
:root {
  --primary: #0d6efd;
  --secondary: #0b57ca;
  --success: #198754;
  --dark: #333;
  --light-bg: #f4f6f9;
  --glass-bg: rgba(255, 255, 255, 0.568);
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* =========================
   Global
========================= */
body {
  background: var(--light-bg);
}

/* =========================
   Navbar (Glass Effect)
========================= */
.navbar-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  color: var(--dark);
  margin: 0 8px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.hero-section {
  position: relative;
  padding: 120px 0;
  background: url("./imgs/main.jpeg")
    center / cover no-repeat;
  background-attachment: fixed;
}

/* Dark overlay */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* increase for more contrast */
  z-index: 1;
}

/* Bring content above overlay */
.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-section h1,
.hero-section p {
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}
.hero-section p.lead {
  color: rgba(255, 255, 255, 0.9);
}
.stat-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

/* =========================
   Services
========================= */
.service-box {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-box i {
  font-size: 40px;
  color: var(--secondary);
  margin-bottom: 15px;
}

/* =========================
   Process Steps
========================= */
.process-step {
  position: relative;
  padding: 25px;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-icon {
  font-size: 3rem;
  color: var(--secondary);
}

/* =========================
   Properties
========================= */
.property-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.property-card img {
  height: 220px;
  object-fit: cover;
}

.price {
  color: var(--success);
  font-size: 18px;
  font-weight: 700;
}

/* =========================
   Avatars & Cards
========================= */
.avatar-circle {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.form-box,
.dashboard-box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.form-box {
  max-width: 420px;
  margin: auto;
}

/* =========================
   CTA Section
========================= */
.cta-section {
  /* background: #fff; */
  color: #000;
}

/* =========================
   Contact
========================= */
.contact-info .bi {
  min-width: 30px;
}

/* footer */

/* Footer Styles */
.footer {
  position: relative;
  /* background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); */
  background-color: #000;
}

.footer h4,
.footer h5 {
  color: #ffffff;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #b8b8b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #0d6efd;
  padding-left: 5px;
}

.footer-links i {
  font-size: 0.7rem;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  color: #b8b8b8;
}

.contact-info i {
  font-size: 1.2rem;
  margin-top: 3px;
}

.social-links .btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links .btn:hover {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #000;
  transform: translateY(-3px);
}

.city-link {
  display: inline-block;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  color: #b8b8b8;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
}

.city-link:hover {
  background: #0d6efd;
  color: #000;
  transform: translateY(-2px);
}

.footer-bottom-links a {
  color: #b8b8b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #0d6efd;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(12, 61, 239, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: #0b57ca;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(18, 64, 202, 0.6);
}

.back-to-top.show {
  display: flex;
}

@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-links,
  .contact-info {
    text-align: left;
  }

  .contact-info li {
    justify-content: center;
  }
}

.property-card {
  transition: all 0.3s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.property-card img {
  transition: transform 0.4s ease;
}

.property-card:hover img {
  transform: scale(1.05);
}

.object-fit-cover {
  object-fit: cover;
}
