* {
  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);
}
s 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);
}

.logo-text {
  font-size: 2rem;
  font-weight: 400;
  color: #000;
  font-family: "Georgia", serif;
  letter-spacing: -1px;
  position: relative;
}

/* 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-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.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;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* 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;
}

/* Quick open property files button */
.quick-open-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.quick-open-btn {
  background: linear-gradient(90deg, #ffd700, #ffea6b);
  color: #000;
  border: none;
  padding: 1.2rem 1.8rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-open-btn:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.18); }

@media (max-width: 600px) {
  .quick-open-btn { padding: 0.9rem 1.1rem; font-size: 1rem; }
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.property-image {
  height: 250px;
  background: var(--gradient-primary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  overflow: hidden;
}

/* 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 .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;
}

/* Footer */
.footer {
  padding: 4rem 2rem 2rem;
  background: var(--primary-color);
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--gold-color);
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--gold-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gold-color);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* 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);
}
/* End of CSS */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5; /* Adjust for desired effect */
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
}

/* 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 img {
  max-width: 85%;
  height: auto;
  border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-wrapper {
    flex: 1 1 100%;
  }
}
/* Popup overlay / backdrop */
.popup-overlay {
  position: fixed;
  inset: 0;
  display: none;                /* hidden by default */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
}

/* visible state */
.popup-overlay.show {
  display: flex;
}

/* popup box with fade+scale */
.popup-box {
  width: 92%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  transform: scale(0.95);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* when shown */
.popup-box.show {
  transform: scale(1);
  opacity: 1;
}

/* close button */
.popup-close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

/* CTA */
.cta-btn {
  display: inline-block;
  margin: 12px auto 0;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: #16a34a;
  color: #fff;
  text-align: center;
}

/* small text */
.popup-title { margin: 0 0 8px; font-size: 1.5rem; color: #0f766e; }
.popup-sub { margin: 0 0 12px; color: #333; }

/* 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;
  }
}

