/* Menu */
.dropdown-menu {
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.sidebar {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar.open {
  transform: translateX(0);
}

.overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Video Playback */



/* Map */
.map-container {
  position: relative;
  width: 100%;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

/* Sidebar */
.side-nav {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.side-nav a.active {
  background-color: #f3f4f6;
  color: #1f2937;
  font-weight: 500;
}

@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}

.content-section {
  scroll-margin-top: 100px;
}

/* Property Listings Specific */
.filter-sidebar {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.filter-sidebar.open {
  transform: translateX(0);
}

.property-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom range slider styling */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #e5e7eb;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1f2937;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1f2937;
  cursor: pointer;
  border: none;
}

/* Custom checkbox styling */
.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  margin-right: 8px;
}

.custom-checkbox:hover input~.checkmark {
  background-color: #f3f4f6;
}

.custom-checkbox input:checked~.checkmark {
  background-color: #1f2937;
  border-color: #1f2937;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked~.checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Team Cards */
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.team-card .social-links {
  transform: translateY(5px);
  transition: all 0.3s ease;
}

.team-card:hover .social-links {
  opacity: 1;
  transform: translateY(0);
}

.team-image {
  position: relative;
  overflow: hidden;
}

.team-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(31, 41, 55, 0.8), rgba(31, 41, 55, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.team-card:hover .team-image::before {
  opacity: 1;
}

.team-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

/* Image Gallery */
.gallery-main {
  position: relative;
  overflow: hidden;
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-thumbnails::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.thumbnail:hover {
  opacity: 0.8;
}

.thumbnail.active {
  border: 2px solid #1f2937;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 1);
}

.modal-prev {
  left: -60px;
}

.modal-next {
  right: -60px;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 20px;
}

/* Property Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* Profile Header */
.profile-header {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

/* Achievement Badges */
.achievement-badge {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  margin: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tab Navigation */
.tab-button {
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.tab-button.active {
  color: #1f2937;
  border-bottom-color: #1f2937;
  font-weight: 500;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Stats Cards */
.stat-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.1);
}

/* Testimonial Cards */
.testimonial-card {
  background: #f9fafb;
  border-left: 4px solid #1f2937;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: #f3f4f6;
  transform: translateX(5px);
}

/* Contact Form */
.contact-form {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}


/* Social Icon */
.social-icon i{
  font-family: 'Font Awesome 5 Brands';
  font-style: normal;
  font-weight: 400;
}