/* ===== RESET AND BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageLoad 0.8s ease-out;
}

@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #ffffff00;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: slideDown 0.6s ease-out;
  transform: translateY(0);
}

.nav.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.nav.transparent {
  background: #ffffff00;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo a {
  font-size: 1.5em;
  font-weight: bold;
  color: #00f6ff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  z-index: 1002;
  position: relative;
}

.logo a:hover {
  transform: scale(1.05);
  /* Reduced scale and removed text-shadow that might cause overlap */
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 5px;
  position: relative;
  transform: translateY(0);
}

.nav a:hover,
.nav a.active {
  color: #00f6ff;
  background-color: rgba(0, 246, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 246, 255, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  backdrop-filter: none;
  padding: 5px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span {
  background: #ff0000;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 246, 255, 0.1));
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    opacity: 0;
  }
  
  .nav ul.active {
    right: 0;
    transform: translateX(0);
    opacity: 1;
  }
  
  .nav ul li {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInMobile 0.6s ease forwards;
  }
  
  .nav ul.active li {
    animation-delay: 0.1s;
  }
  
  .nav ul.active li:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .nav ul.active li:nth-child(3) {
    animation-delay: 0.3s;
  }
  
  .nav ul.active li:nth-child(4) {
    animation-delay: 0.4s;
  }
  
  @keyframes slideInMobile {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav a {
    font-size: 1.2em;
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  
  .nav a:hover {
    background: rgba(0, 246, 255, 0.2);
    border: 1px solid rgba(0, 246, 255, 0.5);
    transform: scale(1.05);
  }
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 246, 255, 0.1));
  pointer-events: none;
  /* Removed the problematic animation */
}

/* Removed gradient shift animation to prevent color overlapping issues */

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: heroSlideUp 1.2s ease-out;
  transform: translateY(0);
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
  animation: titleFadeIn 1.5s ease-out 0.3s both;
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 2em;
  margin-bottom: 20px;
  color: #00f6ff;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  animation: titleFadeIn 1.5s ease-out 0.6s both;
}

.hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #fff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  line-height: 1.5;
  animation: titleFadeIn 1.5s ease-out 0.9s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-buttons .cta-btn:first-child {
  animation-delay: 1.2s;
}

.hero-buttons .cta-btn:last-child {
  animation-delay: 1.4s;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.cta-btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transform: translateY(0) scale(1);
  animation: buttonFadeIn 1s ease-out 0.8s both;
}

@keyframes buttonFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn.primary {
  background: linear-gradient(45deg, #00f6ff, #0099cc);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 246, 255, 0.3);
}

.cta-btn.primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 246, 255, 0.5);
  background: linear-gradient(45deg, #00d4dd, #007aa3);
}

.cta-btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #00f6ff;
  box-shadow: 0 0 20px rgba(0, 246, 255, 0.2);
}

.cta-btn.secondary:hover {
  background: #00f6ff;
  color: #000;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 246, 255, 0.4);
  border-color: #00f6ff;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
  position: relative;
  background: #fff;
}

.section.dark {
  background: #f8f9fa;
}

.section h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/page-header-bg.jpg') center/cover no-repeat;
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 3em;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
  font-size: 1.2em;
  color: #fff;
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.last-updated {
  font-size: 0.9em;
  margin-top: 10px;
  opacity: 0.7;
}

/* ===== GRIDS ===== */
.grid, .properties-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.properties-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ===== CARDS ===== */
.card, .property-card, .service-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  animation: cardSlideUp 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.properties-grid .property-card:nth-child(1) { animation-delay: 0.1s; }
.properties-grid .property-card:nth-child(2) { animation-delay: 0.2s; }
.properties-grid .property-card:nth-child(3) { animation-delay: 0.3s; }
.properties-grid .property-card:nth-child(4) { animation-delay: 0.4s; }

.card:hover, .property-card:hover, .service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 246, 255, 0.2);
  border-color: rgba(0, 246, 255, 0.5);
}

.card::before, .property-card::before, .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 246, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.card:hover::before, .property-card:hover::before, .service-card:hover::before {
  left: 100%;
}

/* ===== PROPERTY FILTERS ===== */
.property-filters {
  padding: 40px 0;
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 25px;
  background: transparent;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #00f6ff;
  border-color: #00f6ff;
  color: #000;
  transform: translateY(-2px);
}

/* ===== PROPERTY CARDS ===== */
.property-card {
  text-align: left;
  overflow: hidden;
  cursor: default;
  position: relative;
}

.property-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.property-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(1);
}

.property-card:hover .property-image img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.property-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 246, 255, 0), rgba(0, 246, 255, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.property-card:hover .property-image::after {
  opacity: 1;
}

.property-status {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #00f6ff;
  color: #000;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
  z-index: 3;
}

.property-content h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.location {
  color: #666;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.price {
  font-size: 1.2em;
  font-weight: 600;
  color: #00f6ff;
  margin-bottom: 15px;
}

.property-specs {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.property-specs span {
  background: rgba(0, 246, 255, 0.1);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
  border: 1px solid rgba(0, 246, 255, 0.2);
  color: #333;
}

.property-link {
  color: #00f6ff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.property-link:hover {
  text-decoration: underline;
  transform: translateX(5px);
}

/* ===== SERVICE CARDS ===== */
.service-icon {
  font-size: 3em;
  color: #00f6ff;
  margin-bottom: 20px;
}

.service-card h3 {
  color: #00f6ff;
  margin-bottom: 15px;
  font-size: 1.3em;
}

.service-card p {
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== CONTACT FORM ===== */
.contact-form-section {
  padding: 80px 0;
  background: #111;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-container h2 {
  color: #00f6ff;
  margin-bottom: 20px;
  font-size: 2em;
}

.contact-form {
  max-width: none;
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #00f6ff;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1em;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00f6ff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(0, 246, 255, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9em;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.submit-btn {
  width: 100%;
  position: relative;
}

.btn-loading {
  display: none;
}

/* ===== CONTACT INFO ===== */
.contact-info-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 246, 255, 0.2);
}

.contact-icon {
  font-size: 2.5em;
  color: #00f6ff;
  margin-bottom: 20px;
}

.contact-card h3 {
  color: #00f6ff;
  margin-bottom: 15px;
}

.contact-details p {
  margin-bottom: 8px;
  color: #ccc;
}

.contact-details strong {
  color: #fff;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-overview {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  color: #00f6ff;
  margin-bottom: 30px;
  text-align: left;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.1em;
  opacity: 0.9;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.mission-vision {
  padding: 80px 0;
  background: #111;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.mvv-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mvv-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 246, 255, 0.2);
}

.mvv-icon {
  font-size: 3em;
  color: #00f6ff;
  margin-bottom: 20px;
}

.mvv-card h3 {
  color: #00f6ff;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.mvv-card ul {
  list-style: none;
  text-align: left;
}

.mvv-card ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.mvv-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00f6ff;
  font-weight: bold;
}

/* ===== FEATURES AND STATS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 246, 255, 0.2);
}

.feature-icon {
  font-size: 2.5em;
  color: #00f6ff;
  margin-bottom: 20px;
}

.feature-card h4 {
  color: #00f6ff;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 246, 255, 0.2);
}

.stat-number {
  font-size: 3em;
  font-weight: bold;
  color: #00f6ff;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1em;
  opacity: 0.9;
}

/* ===== TEAM SECTION ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.team-member {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 246, 255, 0.2);
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid #00f6ff;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info h4 {
  color: #00f6ff;
  margin-bottom: 5px;
  font-size: 1.3em;
}

.member-title {
  color: #ccc;
  margin-bottom: 15px;
  font-weight: 600;
}

.member-description {
  font-size: 0.9em;
  line-height: 1.6;
  opacity: 0.8;
}

/* ===== ERROR 404 PAGE ===== */
.error-404 {
  padding: 150px 0 80px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-number {
  font-size: 8em;
  font-weight: bold;
  color: #00f6ff;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(0, 246, 255, 0.5);
}

.error-404 h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #fff;
}

.error-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  opacity: 0.8;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.search-container {
  margin-bottom: 40px;
}

.search-container h3 {
  color: #00f6ff;
  margin-bottom: 20px;
}

.search-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 10px;
}

.search-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.search-form button {
  padding: 12px 20px;
  background: #00f6ff;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-form button:hover {
  background: #fff;
  transform: translateY(-2px);
}

.helpful-links {
  margin-bottom: 40px;
}

.helpful-links h3 {
  color: #00f6ff;
  margin-bottom: 20px;
}

.helpful-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.helpful-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.helpful-links a:hover {
  color: #00f6ff;
}

.contact-support h3 {
  color: #00f6ff;
  margin-bottom: 15px;
}

.support-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.support-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  text-decoration: none;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.support-link:hover {
  color: #00f6ff;
  border-color: #00f6ff;
  background: rgba(0, 246, 255, 0.1);
}

/* ===== CTA SECTIONS ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, rgba(0, 246, 255, 0.1), rgba(0, 153, 204, 0.1));
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.1em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== LEGAL CONTENT ===== */
.legal-content {
  padding: 80px 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
}

.content-nav {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.content-nav ul {
  list-style: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-nav ul li {
  margin-bottom: 10px;
}

.content-nav a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9em;
}

.content-nav a:hover {
  color: #00f6ff;
}

.legal-text {
  max-width: none;
}

.legal-text section {
  margin-bottom: 50px;
}

.legal-text h2 {
  color: #00f6ff;
  margin-bottom: 20px;
  text-align: left;
  font-size: 1.8em;
}

.legal-text h3 {
  color: #00f6ff;
  margin: 25px 0 15px;
  font-size: 1.3em;
}

.legal-text p {
  margin-bottom: 15px;
  line-height: 1.7;
  opacity: 0.9;
}

.legal-text ul {
  margin: 15px 0;
  padding-left: 20px;
}

.legal-text ul li {
  margin-bottom: 8px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
footer {
  background: #333;
  padding: 60px 0 20px;
  border-top: 1px solid #e0e0e0;
  color: #fff;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
  color: #00f6ff;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section p {
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 20px;
  color: #ccc;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #00f6ff;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 246, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 246, 255, 0.2);
}

.social-links a:hover {
  background: #00f6ff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 246, 255, 0.3);
}

.contact-info p {
  margin-bottom: 10px;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #00f6ff;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #ccc;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00f6ff;
}

/* Design Credit Styles */
.design-credit {
  background: #222;
  text-align: center;
  padding: 8px 0;
  border-top: 1px solid #444;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
  position: relative;
  z-index: 1000;
}

.design-credit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: -1;
}

.design-credit p {
  margin: 0;
  font-size: 11px;
  color: #999;
  font-weight: 400;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.design-credit a {
  color: #00f6ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 11px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
}

.design-credit a:hover {
  color: #00d4dd;
  text-decoration: underline;
  transform: scale(1.05);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 30px 20px;
    margin: 0 15px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5em;
  }
  
  .hero-description {
    font-size: 1.1em;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section h2 {
    font-size: 2em;
  }
  
  .page-header {
    padding: 120px 0 60px;
  }
  
  .page-header h1 {
    font-size: 2.5em;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-image {
    order: 1;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .content-nav {
    position: static;
    order: 2;
  }
  
  .legal-text {
    order: 1;
  }
  
  /* Mobile Footer Layout - 1 row, 2 columns */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h3,
  .footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  
  .footer-section p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .footer-section ul li {
    margin-bottom: 8px;
  }
  
  .footer-section a {
    font-size: 0.9rem;
  }
  
  .social-links {
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
  }
  
  .contact-info p {
    font-size: 0.9rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .error-number {
    font-size: 6em;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .helpful-links ul {
    flex-direction: column;
    gap: 10px;
  }
  
  .support-options {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .nav {
    padding: 15px;
  }
  
  .hero {
    padding: 80px 15px 20px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .card, .property-card, .service-card {
    padding: 20px;
  }
  
  .grid, .properties-grid, .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.cta-btn:hover {
  animation: pulse 0.5s ease-in-out;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ===== SMOOTH SCROLLING ===== */
html {
  scroll-behavior: smooth;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  opacity: 0.9;
  line-height: 1.6;
}

.about-story {
  padding: 120px 0;
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: slideInLeft 0.8s ease-out;
}

.story-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  line-height: 1.2;
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.story-image {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  animation: fadeInRight 1s ease-out;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.values-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.values-header {
  text-align: center;
  margin-bottom: 4rem;
}

.values-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark-color);
  margin-top: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s ease-out;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

.about-cta {
  padding: 120px 0;
  background: var(--dark-color);
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-hero .hero-background {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.contact-main {
  padding: 120px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.contact-form-container h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.contact-form-container p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2.5rem;
}

.modern-form {
  max-width: 100%;
}

.modern-form .form-group {
  position: relative;
  margin-bottom: 2rem;
}

.modern-form input,
.modern-form textarea,
.modern-form select {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
  color: #333;
  font-family: inherit;
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: #fff;
}

.modern-form label {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-size: 1rem;
  color: #6b7280;
  transition: all 0.3s ease;
  pointer-events: none;
  background: white;
  padding: 0 0.5rem;
  z-index: 1;
}

.modern-form input:focus + label,
.modern-form textarea:focus + label,
.modern-form input:valid + label,
.modern-form textarea:valid + label,
.modern-form input:not(:placeholder-shown) + label,
.modern-form textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.8rem;
  font-size: 0.85rem;
  color: var(--primary-color);
  background: white;
  padding: 0 0.5rem;
  font-weight: 500;
}

/* Handle form inputs that have content */
.modern-form input:not(:placeholder-shown):not(:focus):valid + label,
.modern-form textarea:not(:placeholder-shown):not(:focus):valid + label {
  color: #10b981;
}

/* Select dropdown special styling */
.modern-form select:focus,
.modern-form select:valid {
  color: #333;
}

.modern-form select:not([value=""]) {
  color: #333;
}

.modern-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modern-form select {
  background: white;
  cursor: pointer;
  color: #333;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

.modern-form select option {
  color: #333;
  background: white;
  padding: 0.5rem;
}

.modern-form select:invalid {
  color: #6b7280;
}

.modern-form select:focus {
  color: #333;
}

.modern-form .submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
}

.contact-info-container {
  position: sticky;
  top: 100px;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1rem;
}

.contact-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.contact-card p {
  color: #666;
  line-height: 1.5;
}

.social-section h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.contact-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  text-align: center;
}

.contact-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.contact-cta p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

/* ===== PAGE RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .story-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .value-card {
    padding: 2rem 1.5rem;
  }
  
  .modern-form .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-info-container {
    position: static;
  }
  
  .about-story,
  .values-section,
  .contact-main,
  .about-cta {
    padding: 80px 0;
  }
}

/* ===== LIGHTBOX STYLES ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active {
  opacity: 1;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lightboxZoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-content {
  animation: lightboxZoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxZoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#lightbox-media-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

#lightbox-video-container {
  width: 100%;
  max-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox-video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Video overlay play button */
.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-container:hover .play-overlay {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -60px;
  right: -10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 120px);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lightbox-nav button {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
}

.lightbox-nav button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

#lightbox-prev {
  left: -60px;
}

#lightbox-next {
  right: -60px;
}

/* ===== CLICKABLE IMAGES ENHANCEMENT ===== */
img:not(.logo img):not([src*="logo"]):not([src*="icon"]):not([alt*="Logo"]):not([alt*="Icon"]) {
  transition: all 0.3s ease;
}

img:not(.logo img):not([src*="logo"]):not([src*="icon"]):not([alt*="Logo"]):not([alt*="Icon"]):hover {
  transform: scale(1.02);
  filter: brightness(1.1);
  cursor: pointer;
}

/* ===== LIGHTBOX RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95vw;
    max-height: 80vh;
  }
  
  .lightbox-close {
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
  }
  
  .lightbox-nav {
    width: calc(100% + 80px);
  }
  
  .lightbox-nav button {
    width: 45px;
    height: 45px;
  }
  
  #lightbox-prev {
    left: -40px;
  }
  
  #lightbox-next {
    right: -40px;
  }
}

@media (max-width: 480px) {
  .lightbox-content {
    max-width: 98vw;
    max-height: 75vh;
  }
  
  .lightbox-close {
    top: -40px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  
  .lightbox-nav button {
    width: 40px;
    height: 40px;
  }
  
  #lightbox-prev {
    left: -20px;
  }
  
  #lightbox-next {
    right: -20px;
  }
}

/* ===== GLOBAL MOBILE RESPONSIVENESS FIXES ===== */
/* Prevent horizontal scrolling on all devices */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* Global container fixes */
.container {
  max-width: 100% !important;
  padding: 0 15px !important;
}

/* Force all elements to respect viewport width */
* {
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

/* Fix all gallery grids on mobile */
@media (max-width: 768px) {
  /* Override inline styles for 5-column grids */
  .gallery-grid[style*="repeat(5, 1fr)"],
  .gallery-grid[style*="max-width: 1200px"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  .gallery-grid {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  
  .gallery-item {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Fix all inline max-width styles */
  [style*="max-width: 1200px"] {
    max-width: 100% !important;
  }
  
  /* Fix feature grids with inline styles */
  .features-grid[style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  /* Fix property content padding */
  .property-content {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Fix video containers */
  .property-video-container {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    width: 100% !important;
  }
  
  /* Fix navigation */
  .nav {
    padding: 0 15px !important;
    width: 100% !important;
  }
  
  /* Fix hero section */
  .hero {
    padding: 80px 15px 20px !important;
    width: 100% !important;
  }
  
  .hero-content {
    max-width: 100% !important;
    padding: 20px 15px !important;
    width: 100% !important;
  }
  
  /* Fix all sections */
  .section {
    padding: 40px 15px !important;
    width: 100% !important;
  }
  
  /* Fix property cards grid */
  .properties-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Fix footer */
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center !important;
  }
  
  /* Fix any remaining overflow */
  .property-detail-page,
  .property-gallery,
  .property-features,
  .premium-amenities {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px !important;
  }
  
  /* On very small screens, use 3 columns for galleries */
  .gallery-grid[style*="repeat(5, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 5px !important;
  }
  
  .property-content {
    padding: 0 10px !important;
  }
  
  .hero {
    padding: 80px 10px 20px !important;
  }
  
  .hero-content {
    padding: 15px 10px !important;
  }
  
  .section {
    padding: 30px 10px !important;
  }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  color: white;
  fill: white;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== SUCCESS MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: modalSlideIn 0.4s ease-out;
  overflow: hidden;
}

.modal-header {
  padding: 15px 20px;
  background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
  color: white;
  text-align: right;
}

.close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close:hover {
  color: #ddd;
  transform: scale(1.2);
}

.modal-body {
  padding: 40px 30px;
  text-align: center;
}

.success-icon {
  margin-bottom: 20px;
}

.success-icon svg {
  animation: checkScale 0.5s ease-out 0.3s both;
}

.modal-body h3 {
  color: #1a365d;
  margin-bottom: 15px;
  font-size: 24px;
}

.modal-body p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

#modalOkBtn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#modalOkBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 90, 160, 0.3);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes checkScale {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 20% auto;
  }
  
  .modal-body {
    padding: 30px 20px;
  }
  
  .whatsapp-float {
    bottom: 15px;
    left: 15px;
  }
  
  .whatsapp-float a {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
