html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Main Color Scheme */
:root {
  --primary-color: #1e88e5;
  --secondary-color: #26c6da;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --danger-color: #e53935;
  --success-color: #43a047;
  --warning-color: #fdd835;
}

/* Buttons */
.btn {
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #1565c0;
  border-color: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Forms */
.form-control {
  border-radius: 4px;
  border: 1px solid #ced4da;
  padding: 0.6rem 0.75rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.15);
}

.input-group-text {
  background-color: #f8f9fa;
  border-color: #ced4da;
}

/* Authentication Pages */
.auth-card {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.auth-card .card-header {
  background-color: var(--primary-color);
  padding: 1.5rem 1rem;
  border-bottom: none;
}

.auth-card .card-body {
  padding: 2rem;
}

.auth-card .form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.auth-card .input-group-text {
  width: 42px;
  display: flex;
  justify-content: center;
  color: var(--primary-color);
}

.auth-card .btn-primary {
  padding: 0.6rem 2rem;
  font-weight: 500;
}

/* Navbar Styling */
.navbar {
  padding: 0.8rem 1rem;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar-dark.bg-dark {
  background-color: var(--dark-color) !important;
}

.nav-link {
  position: relative;
  padding: 0.8rem 1rem !important;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

/* Footer Styles */
.footer {
  position: relative;
  margin-top: 50px;
}

.footer h5 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.footer h5:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 50px;
  background-color: var(--primary-color);
}

.footer-links li {
  transition: all 0.3s ease;
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links a {
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color) !important;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  margin-right: 0.5rem;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-link {
  transition: all 0.3s ease;
}
.footer-link:hover {
  color: #0d6efd !important;
  padding-left: 5px;
}
.social-icon {
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
}
.social-icon:hover {
  background-color: #0d6efd;
  color: white !important;
  transform: translateY(-3px);
}
#back-to-top {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
#back-to-top:hover {
  transform: translateY(-5px);
}

.property-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.page-link {
  color: #007bff;
  border-radius: 0.25rem;
  margin: 0 3px;
}
.page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
}
.property-features {
  display: flex;
  align-items: center;
}
.feature-badge {
  display: inline-flex;
  align-items: center;
  background-color: #f8f9fa;
  color: #6c757d;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 15px;
  margin-left: 5px;
  border: 1px solid #e9ecef;
}
.feature-badge i {
  margin-right: 4px;
  color: #007bff;
}

.bg-custom-blue {
    background-color: #264d66 !important;
}