* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2c3e50;
  --accent-color: #e74c3c;
  --gold-color: #f39c12;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #ecf0f1;
  --white: #ffffff;
  --gradient-primary: linear-gradient(90deg, #48ac2c 0%, #1c5305 100%);
  --gradient-accent: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
}


/* Hero Section */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* Background Video */
.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Overlay */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 0;
}


.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}


/* Property Types Section */
.property-types {
  padding: 6rem 2rem;
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.property-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
}


.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.property-image {
  height: 300px;
  background: var(--gradient-primary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  overflow: hidden;
}

.property-image a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  cursor: zoom-in;
}

.property-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.property-image i {
  position: relative;
  z-index: 2;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.property-card:hover .property-image img,
.property-image a:hover img {
  transform: scale(1.05);
}

/* Equal images row used on the home page */
.equal-imgs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
  padding: 1rem 2rem;
}

.equal-imgs a {
  cursor: zoom-in;
  display: block;
  transition: transform 0.3s ease;
}

.equal-imgs a:hover {
  transform: scale(1.02);
}

.equal-imgs .equal-img {
  width: 100%;
  max-width: 420px; /* keep images reasonable on large screens */
  height: 520px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

@media (max-width: 900px) {
  .equal-imgs { flex-direction: column; gap: 0.75rem; }
  .equal-imgs .equal-img { width: 100%; height: 420px; max-width: none; }
}

.property-image.villa-bg {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.property-image.apartment-bg {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.property-image.commercial-bg {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.property-image.plot-bg {
  background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
}

.property-image::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"><circle cx="20" cy="20" r="2" fill="%23ffffff20"/><circle cx="80" cy="40" r="3" fill="%23ffffff15"/><circle cx="40" cy="80" r="1" fill="%23ffffff25"/></svg>');
}

/* CTA Section */
.cta-section {
  padding: 6rem 2rem;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="https://youtu.be/cVhwG_487Wo" viewBox="0 0 1000 1000"><polygon fill="%23ffffff05" points="0,200 1000,0 1000,800 0,1000"/></svg>');
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}


/* Responsive Design */
@media (max-width: 768px) {

  .hero h1 {
    font-size: 2.5rem;
  }

  .property-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .hero-content,
  .container {
    padding: 0 1rem;
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Green Call Button */
.nav-call-btn {
  padding: 8px 16px;
  background: #2ecc71;
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
}

.nav-call-btn:hover {
  background: #27ae60;
}

.hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  color: #ffffff;
  z-index: 2;
}

.cta-section {
  padding: 40px 20px;
  text-align: center;
}

/* Make both images equal size */
.equal-imgs {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.equal-img {
  width: 220px;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.video-flex {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.video-wrapper {
  flex: 1 1 45%;
  max-width: 600px;
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 ratio */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Centered image */
.centered-img {
  text-align: center;
  margin: 20px 0;
}

.centered-img a {
  cursor: zoom-in;
  display: inline-block;
  transition: transform 0.3s ease;
}

.centered-img a:hover {
  transform: scale(1.02);
}

.centered-img img {
  max-width: 85%;
  height: auto;
  border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-wrapper {
    flex: 1 1 100%;
  }
}

/* Phone Contact Element */
.phone_element {
  background: linear-gradient(135deg, #51f371 0%, #18742e 100%);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  margin: 2rem auto;
  text-align: center;
}

.phone_element.no_borders {
  border: none;
}

.phone_element h6 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.phone_element a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.phone_element a:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.phone_element a:last-child {
  margin-bottom: 0;
}

.phone_element a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(246deg) brightness(104%) contrast(97%);
}

.phone_element a span {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.phone_element a span em {
  font-style: normal;
  display: inline-block;
}

/* Responsive adjustments for phone element */
@media (max-width: 600px) {
  .phone_element {
    padding: 2rem 1.5rem;
    margin: 1.5rem 1rem;
  }
  
  .phone_element h6 {
    font-size: 1.5rem;
  }
  
  .phone_element a {
    padding: 0.9rem 1.2rem;
  }
  
  .phone_element a span {
    font-size: 1rem;
  }
  
  .phone_element a img {
    width: 24px;
    height: 24px;
  }
}

/* WhatsApp Popup Styles */
.whatsapp-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
}

.whatsapp-popup.show {
  display: block;
  animation: zoomIn 0.5s ease-out;
}

@keyframes zoomIn {
  from {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.whatsapp-popup-content {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.2);
  padding: 20px;
  max-width: 350px;
  width: 90vw;
  position: relative;
}

.whatsapp-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.whatsapp-popup-overlay.show {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.whatsapp-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.whatsapp-popup-close:hover {
  background: #f0f0f0;
  color: #333;
}

.whatsapp-popup-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.whatsapp-popup-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.whatsapp-popup-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.whatsapp-popup-header p {
  margin: 0;
  font-size: 12px;
  color: #999;
}

.whatsapp-popup-body {
  background: #f0f0f0;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.whatsapp-popup-body p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.whatsapp-popup-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.whatsapp-popup-button:hover {
  background: #128C7E;
  color: #fff;
  transform: scale(1.05);
}

.whatsapp-popup-button i {
  margin-right: 8px;
  font-size: 20px;
}

.whatsapp-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  animation: pulse 2s infinite;
  z-index: 9997;
}

.whatsapp-float-btn:hover {
  background: #128C7E;
  transform: scale(1.1);
}

.whatsapp-float-btn i {
  color: #fff;
  font-size: 30px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
  }
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
}

@media (max-width: 768px) {
  .whatsapp-popup-content {
    max-width: 320px;
    padding: 15px;
  }
  
  .whatsapp-float-btn {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-float-btn i {
    font-size: 25px;
  }
}
