html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #7be6cd;
  color: #12263a;
  overflow-x: hidden;
}
.navbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 20px;
  background:rgba(255, 255, 255, 0.9);
  box-shadow:0 2px 10px rgba(2,6,23,0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.logo{display:flex; align-items:center; font-weight:700;font-size:16px;}
.logo img {width:50px; height:auto; margin-right:5px; mix-blend-mode: multiply;}
.nav-links{list-style:none;display:flex;gap:20px;margin:0;padding:0;margin-left:auto;}
.nav-links a {
  text-decoration: none;
  color: #12263a;
  font-weight: 600;
  font-size: 18px;
}
.nav-links a:hover { color: #0a7d6c; }
.login-btn{padding:8px 14px;border-radius:8px;border:1px solid #0a7d6c;background:#fff;cursor:pointer;display:none;}

.mobile-close-btn {
  display: none;
}

*{box-sizing:border-box}

/* Global Background Video */
#global-bg-video, #mobile-bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: contrast(.95) saturate(.7) brightness(.85);
}

#global-bg-video {
  display: block;
}

#mobile-bg-video {
  display: none;
}

/* Header / hero with CRT-like animated background */
.hero-section{
  position: relative;
  height: 100vh;
  min-height: 100vh;
  margin-top: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

/* Video header layout (keeps backward compatibility with .hero-section) */
.video-header {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/* scanlines / CRT banding */
.hero-section::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.06) 50%, rgba(255,255,255,0.03) 51%);
  background-size: 100% 4px;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
  animation: scan 1.2s linear infinite;
  opacity: 0.6;
}

@keyframes bgShift{
  0%{ transform: scale(1) translateY(0); background-position: center 30%; }
  100%{ transform: scale(1.02) translateY(-12px); background-position: center 70%; }
}

@keyframes scan{
  from{ background-position: 0 0; }
  to{ background-position: 0 4px; }
}

.hero-box{
  background: rgba(255, 255, 255, 0.7);
  max-width: 1100px;
  width: calc(100% - 40px);
  padding: 28px;
  border-radius: 12px;
  border: 2px solid #ffffff;
  box-shadow: 0 18px 50px rgba(2,6,23,0.20), 0 6px 20px rgba(2,6,23,0.12), inset 0 2px 0 rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  position: relative;
  z-index: 3;
  color: #12263a;
  backdrop-filter: blur(6px) saturate(0.9);
}

/* removed dark overlay to let video be main background */

.header-content{
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn{
  margin-top: 20px;
  padding: 12px 30px;
  background: #ff9800;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.hero-title{margin:0;font-size:42px}

/* removed duplicate hero background rule (replaced by animated layers above) */

.search-box{
  margin-top:20px;
  display:flex;
  gap:10px;
  justify-content:center;
  width:100%;
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;
  padding:0 16px;
  box-sizing:border-box;
}
.search-box input,.search-box select{
  padding:12px;
  border-radius:8px;
  border:1px solid #dbe6ea;
  flex:1 1 200px;
  min-width:140px;
  max-width:480px;
}
.search-box button{padding:12px 18px;border-radius:8px;border:none;background:#0a7d6c;color:#fff;cursor:pointer;flex:0 0 auto}
.search-box .btn { margin-top: 0; }
.featured-section{padding:40px 32px; background:rgba(255, 255, 255, 0.7); margin:20px 0; border-radius:12px; border:2px solid #ffffff; box-shadow: 0 18px 50px rgba(2,6,23,0.20), 0 6px 20px rgba(2,6,23,0.12), inset 0 2px 0 rgba(255,255,255,0.6);} 
.featured-section h2 {
  text-align: center;
  margin-top: 0;
  font-size: 26px;
  color: #12263a;
}
.property-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.property-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 14px 36px rgba(2,6,23,0.18), 0 6px 18px rgba(2,6,23,0.10);display:flex;flex-direction:column}
.property-card img{width:100%;height:200px;object-fit:cover;display:block}

/* ensure modal images are constrained but keep aspect */
.modal-box{background:#fff;padding:18px;border-radius:10px;max-width:900px;width:92%;box-shadow:0 12px 36px rgba(2,6,23,0.3);position:relative}

/* modal image: preserve aspect ratio, fit inside viewport */
.modal-box img{
  display:block;
  margin: 0 auto 12px;
  max-width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  cursor: zoom-in;
}
.modal-box.fullscreen img{
  cursor: zoom-out;
  max-height: 98vh;
}
.property-content{padding:14px;flex:1;display:flex;flex-direction:column;justify-content:space-between}
.property-title{font-weight:700;margin-bottom:6px;font-family:"Times New Roman", Times, serif;}
.property-meta{color:#556b7a;font-size:14px;margin-bottom:10px;font-family:"Times New Roman", Times, serif;}
.property-price{font-weight:800;font-size:18px;font-family:"Times New Roman", Times, serif;}
.property-snippet{color:#556b7a;font-size:14px;margin-top:8px;line-height:1.4}

/* Property Details Container - Shows full details in card */
.property-details-container {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.property-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 13px;
  color: #12263a;
  font-weight: 600;
}

.specifications, .amenities {
  margin-top: 10px;
}

.specifications h4, .amenities h4 {
  font-size: 13px;
  color: #0a7d6c;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specifications ul, .amenities ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #556b7a;
  line-height: 1.6;
}

.specifications li, .amenities li {
  margin-bottom: 4px;
}

.property-description {
  color: #556b7a;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}

/* Responsive: single column for details on mobile */
@media (max-width: 640px) {
  .property-details {
    grid-template-columns: 1fr;
  }
}
/* full property description on detail page: preserve paragraph formatting */
.property-desc{color:#556b7a;font-size:15px;margin-top:12px;line-height:1.6;white-space:pre-wrap}
/* live preview styling used in admin edit modal */
.description-preview{border:1px dashed #dbe6ea;padding:10px;border-radius:6px;background:#fbfbfb;color:#556b7a;white-space:pre-wrap;margin-top:6px}
.footer{background:#12263a;color:#fff;padding:40px 20px;margin-top:40px}
.footer-content{display:flex;justify-content:space-around;flex-wrap:wrap;gap:20px}
.footer-section{flex:1;min-width:200px}
.footer-section h3{margin-bottom:15px;font-size:18px}
.footer-section p{margin:5px 0}
.footer-section ul{list-style:none;padding:0}
.footer-section ul li{margin:5px 0}
.footer-section ul li a{color:#dbe6ea;text-decoration:none}
.footer-section ul li a:hover{color:#fff}
.footer-bottom{text-align:center;padding:20px;border-top:1px solid #556b7a;margin-top:20px}
.footer-bottom p{margin:0;font-size:14px;color:#dbe6ea}
.footer-bottom p a{color:#dbe6ea;text-decoration:none}

/* Contact Section Styles */
#contact {
  padding: 20px 20px;
  background: rgba(255, 255, 255, 0.7);
  margin: 20px auto;
  border-radius: 12px;
  /* denser shadow to match new visual style */
  box-shadow: 0 18px 50px rgba(2,6,23,0.20), 0 6px 20px rgba(2,6,23,0.12), inset 0 2px 0 rgba(255,255,255,0.6);
  display:none;
  max-width: 500px;
  border: 2px solid #ffffff;
}

#contact.active {
  display: block; /* Show when active */
}

#contact h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 24px;
  color: #12263a;
}

#contact p {
  color: #556b7a;
  margin-bottom: 15px;
  font-size: 14px;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#contact label {
  font-weight: 600;
  color: #12263a;
  margin-bottom: 3px;
  font-size: 13px;
}

#contact input,
#contact textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #dbe6ea;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
}

#contact textarea {
  resize: vertical;
  min-height: 70px;
}

/* Modal for property details */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.5);display:flex;align-items:center;justify-content:center;z-index:2000}
.modal-box{background:#fff;padding:18px;border-radius:10px;max-width:720px;width:92%;box-shadow:0 12px 36px rgba(2,6,23,0.3);position:relative}
.modal-close{position:absolute;right:12px;top:8px;border:none;background:transparent;font-size:26px;cursor:pointer}
.modal-box h3{margin:12px 0 6px}
.modal-box p{color:#556b7a}

#contact button {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  background: #0a7d6c;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

#contact button:hover {
  background: #088f7a;
}

/* About Section Styles */
#About {
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.7);
  margin: 20px 0;
  border-radius: 12px;
  /* denser, more dramatic shadow */
  box-shadow: 0 18px 50px rgba(2,6,23,0.20), 0 6px 20px rgba(2,6,23,0.12), inset 0 2px 0 rgba(255,255,255,0.6);
  /* white outline */
  border: 2px solid #ffffff;
}

#About h2 {
  margin-top: 0;
  font-size: 28px;
  color: #12263a;
  text-align:center;
  margin-bottom: 20px;
  font-weight: bold;
}

#abt {
  display: flex;
  flex-direction: row;
  text-align: center;
  gap: 20px;
  align-items: center;
}

.abt-img {
  flex: 1;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.abt-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  mix-blend-mode: multiply;
  /* default: hidden/settled until the section becomes visible */
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

/* animation triggered once by adding `.animate` on the wrapper */
.abt-img.animate img {
  animation: aboutPop 1.5s cubic-bezier(.2,.9,.2,1) forwards;
}

@keyframes aboutPop {
  0% { transform: translateY(18px) scale(0.98); opacity: 0; }
  60% { transform: translateY(-4px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.abt-text {
  flex: 1;
  color: #000; /* Black color */
  font-size: 16px;
  text-align: justify;
  font-family:  'Times New Roman',sans-serif; /* Changed font */
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.abt-text h2 {
  align-self: center;
  margin-bottom: 10px;
}
.footer {
  background: #12263a;
  color: #fff;
  padding: 40px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 0.6fr 1.2fr 1.2fr;
  gap: 20px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  min-width: 0;
  overflow-wrap: break-word;
}

.footer-section h3 {
  margin-bottom: 16px;
  color: #7be6cd;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #dbe6ea;
  text-decoration: none;
  transition: color 0.2s;
}

/* Project details infobox (Wikipedia-like) */
.project-details { margin-top: 20px;  padding: 12px 8px; }
.project-infobox { width: 100%; max-width: 760px; margin: 0 auto; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; overflow: hidden; box-shadow: 0 12px 36px rgba(2,6,23,0.14); border-collapse: collapse; transform-origin: top left; transform: scale(1.02); transition: transform 160ms ease, box-shadow 160ms ease; }
.project-infobox tr { border-top: 1px solid #e0e0e0; }
.project-infobox tr:first-child { border-top: 0; }
.project-infobox th, .project-infobox td { padding: 12px 14px; vertical-align: top; }
.project-infobox th { width: 34%; text-align: left; font-weight: 700; background: #f6f6f6; color: #0b2b2a; border-right: 1px solid #e0e0e0; font-size: 15px; }
.project-infobox td { color: #22343a; font-size: 15px; }
.project-infobox td a { color: #1a73e8; text-decoration: none; }
.project-infobox td a:hover { text-decoration: underline; }
.project-infobox .infobox-image { width: 100%; display:block; margin-bottom: 6px; border-bottom: 1px solid #f1f1f1; max-height: 220px; object-fit: cover; }
.project-infobox .section-label { font-weight:700 }

@media (max-width: 720px) {
  .project-infobox th { display: block; width: 100%; padding-top: 10px; }
  .project-infobox td { display: block; width: 100%; padding-bottom: 10px; }
  .project-infobox tr { display: block; border-top: 1px solid #f3f3f3; }
}

/* Hover/active: slightly pop the box with stronger shadow */
.project-infobox:hover { transform: scale(1.03); box-shadow: 0 20px 48px rgba(2,6,23,0.18); }

/* Force Project Details header to a single line */
.project-details h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 0 8px 0; }

.footer-section ul li a:hover {
  color: #ffcc00;
}

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #444;
}

/* Why Choose Us section */
.why-choose{padding:36px 32px;background:rgba(255, 255, 255, 0.7);margin:20px 0;border-radius:12px;box-shadow:0 18px 50px rgba(2,6,23,0.20), 0 6px 20px rgba(2,6,23,0.12), inset 0 2px 0 rgba(255,255,255,0.6);border:2px solid #ffffff}
.why-choose h2{margin-top:0;font-size:26px;color:#12263a;text-align:center}
.why-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:18px;margin-top:18px}
.why-card{background:#f7fffb;padding:18px;border-radius:10px;border:1px solid #e6f7f2}
.why-card h3{margin:0 0 8px;font-size:18px;font-family:"Times New Roman", Times, serif;}
.why-card p{margin:0;color:#234146;font-size:14px;line-height:1.5}
.why-cta{text-align:center;margin-top:16px;color:#0a7d6c;font-weight:600}

/* FAQ styles */
.faq-section{padding:32px;background:rgba(255, 255, 255, 0.7);border-radius:12px;box-shadow:0 18px 50px rgba(2,6,23,0.20), 0 6px 20px rgba(2,6,23,0.12), inset 0 2px 0 rgba(255,255,255,0.6);border:2px solid #ffffff;margin-bottom:20px}
.faq-section h2{margin-top:0;text-align:center;color:#12263a}
.faq-list{max-width:900px;margin:12px auto 0}
.faq-list details{background:#f8fbfd;border-radius:8px;padding:12px 16px;margin-bottom:10px;border:1px solid #e6eef6}
.faq-list summary{cursor:pointer;font-weight:700;color:#0a5560;list-style:none;outline:none}
.faq-list details[open]{background:#fff}
.faq-list p{margin:8px 0 0;color:#334d52}

/* Navigation Arrows for Feedback Carousel */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
}
.nav-arrow:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.prev-arrow {
  left: 10px;
}
.next-arrow {
  right: 10px;
}

/* Uniform section sizing: make each main section a consistent height (350px) */
section, .hero-section, .featured-section, #About, #contact {
  min-height: 350px;
 
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 40px 32px;
}

/* More button styles */
.more-btn {
  margin: 20px auto;
  display: block;
  padding: 12px 24px;
  background: #0a7d6c;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s ease;
  grid-column: 1 / -1;
  text-align: center;
}

.more-btn:hover {
  background: #088f7a;
}

/* Responsive adjustments for property grid */
@media (max-width: 1000px) {
  .property-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .property-grid, .why-grid { grid-template-columns: 1fr; }
}

/* Removed .full-screen utility as requested */

/* Green background section: Stats */
.stats-section {
  background-color: rgba(255, 255, 255, 0.7); /* switch to white to match other sections */
  padding: 40px 0;
  margin: 20px 0;
  border-radius: 12px;
  border: 2px solid #ffffff;
  box-shadow: 0 18px 50px rgba(2,6,23,0.20), 0 6px 20px rgba(2,6,23,0.12), inset 0 2px 0 rgba(255,255,255,0.6);
}

.stats-section h2 {
  text-align: center;
  margin-top: 0;
  font-size: 26px;
  color: #12263a;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.stat-box {
  background-color: #7be6cd;
  padding: 20px 40px;
  border-radius: 12px;
  text-align: center;
  min-width: 160px;
  box-shadow: 0 14px 36px rgba(2,6,23,0.18), 0 6px 18px rgba(2,6,23,0.10);
}

.stat-box h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  font-family: "Times New Roman", Times, serif;
}

.stat-box p {
  margin: 5px 0 0;
  font-size: 20px;
}

/* subtle float animation for the descriptor text */
.stat-box p {
  animation: floatText 3s ease-in-out infinite;
}

@keyframes floatText {
  0% { transform: translateY(0); opacity: 0.95; }
  50% { transform: translateY(-6px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.95; }
}

/* number pop on change */
.stat-box h2 {
  transition: transform 300ms ease, color 300ms ease;
}
.stat-box.hightlight h2 {
  transform: scale(1.08);
  color: #0a7d6c;
}

/* active/visible interactions for touch/click */
.stat-box{
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}
.stat-box.active{
  transform: scale(1.06);
  box-shadow: 0 14px 34px rgba(2,6,23,0.16);
  z-index: 5;
}

/* allow text/number to reveal when a .visible class is added */
.stat-box h2, .stat-box p {
  transition: transform 300ms ease, opacity 300ms ease;
}
.stat-box h2.visible, .stat-box p.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .mobile-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: transparent;
    color: #12263a;
    border: none;
    border-radius: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2000;
    box-shadow: none;
    padding-bottom: 4px;
  }
  .mobile-close-btn:active {
    color: red;
  }
}

/* default slight offset for reveal (so visible gives a small move) */
.stat-box h2, .stat-box p {
  opacity: 0.98;
  transform: translateY(2px);
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background-color: #ffffff;
  margin: 0;
  padding: 40px;
}

.why-choose h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.list-box {
  background-color: #e0e0e0;
  border-radius: 10px;
  padding: 25px 40px;
  max-width: 900px;
}

.list-box ul {
  margin: 0;
  padding-left: 20px;
}

.list-box li {
  font-size: 18px;
  line-height: 1.8;
}

/* WhatsApp Icon Styles */
.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #25d366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-icon img {
  width: 30px;
  height: 30px;
}

/* Call Icon Styles */
.call-icon {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
  background-color: #0a7d6c;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.call-icon:hover {
  transform: scale(1.1);
}

.call-icon img {
  width: 30px;
  height: 30px;
}

/* Property Detail Page Styles */
.detail-card {
  max-width: 1000px;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}
.detail-image {
  width: 100%;
  height: auto;
  display: block;
}
.detail-body {
  padding: 25px;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  #global-bg-video {
    display: none !important;
  }
  #mobile-bg-video {
    display: block !important;
  }
  html, body {
    overflow-x: hidden;
    width: 100%;
    padding: 0;
  }
  .navbar {
    flex-direction: row;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: visible;
  }
  .logo {
    font-size: 20px;
    width: auto;
    justify-content: flex-start;
  }
  .logo img {
    width: 45px;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    order: 2;
  }
  .hamburger span {
    width: 100%;
    height: 3px;
    background: #12263a;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: height 0.3s ease;
    margin: 0;
    padding: 0;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    height: auto;
    padding: 20px 0;
  }
  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }
  .nav-links a {
    font-size: 18px;
    padding: 10px 20px;
    display: block;
    color: #12263a;
    text-decoration: none;
  }
  .nav-links a:hover, .nav-links a:active {
    background: rgba(10, 125, 108, 0.1);
    color: #0a7d6c;
    border-radius: 5px;
  }
  .login-btn {
    display: none;
  }

  .video-header,
  .hero-section {
    padding: 130px 50px 50px;
    height: auto;
    min-height: auto;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .hero-box {
    padding: 20px;
    max-width: 100%;
    width: 100%;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .hero-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .search-box {
    flex-direction: column;
    height: auto;
    gap: 15px;
    max-width: 100%;
    padding: 0;
  }
  .search-box input, .search-box select, .search-box button, .search-box .btn {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    flex: auto;
    padding: 12px;
    font-size: 16px; /* Prevents iOS zoom */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  .search-box button {
    width: 50%;
    align-self: center;
    padding: 12px 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(10, 125, 108, 0.3);
  }
  .btn {
    font-size: 18px;
    padding: 14px 30px;
    width: 100%;
  }

  #abt {
    flex-direction: column;
    gap: 30px;
  }
  .abt-img {
    margin-top: 0;
    width: 100%;
    order: -1; /* Move image to top in mobile view */
  }
  .abt-text {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
  }

  section, .featured-section, #About, #contact, .why-choose, .faq-section, .stats-section, .feedback-section {
    padding: 15px 10px;
    min-height: auto;
    width: calc(100% - 30px);
    margin: 20px auto;
    border-radius: 16px;
  }

  .featured-section h2, #About h2, .why-choose h2, .faq-section h2, .stats-section h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .property-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .property-card {
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  }
  .property-card img {
    height: 280px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .why-card {
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  }
  .why-card h3 {
    font-size: 18px;
  }
  .why-card p {
    font-size: 14px;
  }

  .faq-list {
    padding: 0;
  }
  .faq-list details {
    padding: 15px;
    margin-bottom: 12px;
  }
  .faq-list summary {
    font-size: 16px;
  }

  .feedback-section {
    padding: 15px 10px;
    max-width: calc(100% - 30px);
    margin: 20px auto;
  }
  .feedback-wrapper {
    gap: 20px;
    padding: 10px 0;
  }
  .feedback-video-container {
    width: 100%;
    max-width: 300px;
  }
  .feedback-video-container.visible {
    display: none; /* Hide visible (side) videos on mobile */
  }
  .feedback-video-container.active {
    display: block; /* Show only the active (center) video on mobile */
  }
  .feedback-video-container video {
    height: auto;
    aspect-ratio: 9/16;
  }

  .customer-video-container {
    text-align: center;
    margin-top: 20px;
  }
  .customer-video-container video {
    width: 200px;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }
  .customer-video-container video.enlarged {
    width: 400px;
    transform: scale(1.5);
  }

  .nav-arrow {
    width: 45px;
    height: 45px;
    font-size: 20px;
    background: transparent;
    box-shadow: none;
  }
  .prev-arrow {
    left: 10px;
  }
  .next-arrow {
    right: 10px;
  }

  .stats-container {
    gap: 15px;
    padding: 0;
  }
  .stat-box {
    flex: 1 1 100%;
    margin-bottom: 15px;
    padding: 25px;
    min-width: auto;
    background: linear-gradient(135deg, #7be6cd 0%, #5adbbd 100%);
    color: #003d33;
  }
  .stat-box h2 {
    font-size: 36px;
    font-weight: 700;
  }
  .stat-box p {
    font-size: 18px;
    font-weight: 500;
  }

  #contact {
    max-width: calc(100% - 30px);
    padding: 15px 10px;
  }
  #contact h2 {
    font-size: 24px;
  }
  #contact input, #contact textarea {
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
  }
  #contact button {
    padding: 16px;
    font-size: 18px;
    margin-top: 10px;
  }

  .footer {
    margin-left: -40px;
    margin-right: -40px;
    width: calc(100% + 80px);
    margin-top: 0;
    margin-bottom: 0;
    padding: 15px 10px;
    text-align: center;
    overflow: visible;
    z-index: 10;
    position: relative;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    /* Hide animations on left side and bottom for mobile */
    border-top: none;
    box-shadow: none;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
  }
  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 5px;
  }
  .footer-section p {
    color: #dbe6ea;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  .footer-section ul li {
    margin: 5px 0;
  }
  .footer-section ul li a {
    font-size: 14px;
    padding: 5px;
    display: block;
  }
  .footer-bottom p {
    font-size: 12px;
  }

  .whatsapp-icon, .call-icon {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    width: 55px;
    height: 55px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  .call-icon {
    bottom: 90px;
  }
  .whatsapp-icon img, .call-icon img {
    width: 30px;
    height: 30px;
  }

  .project-infobox:hover {
    transform: none;
    box-shadow: 0 12px 36px rgba(2,6,23,0.14);
  }
  .project-infobox {
    transform: none;
  }
}

@media (max-width: 480px) {
  #global-bg-video {
  display: none;
}

#mobile-bg-video {
  display: block;
}
  .hero-title {
    font-size: 20px;
    width: 100%;
    text-align: center;
  }
  .search-box {
    flex-direction: column;
  }
  .navbar {
    padding: 12px;
  }
  .logo {
    font-size: 18px;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-links a {
    font-size: 13px;
    padding: 5px 10px;
  }
  section, .featured-section, #About, #contact {
    width: calc(100% - 10px);
    padding: 15px 10px;
  }
  .property-card img {
    height: 260px;
  }
  .stat-box h2 {
    font-size: 30px;
  }
  .prev-arrow { left: 0; }
  .next-arrow { right: 0; }
}

@media (min-width: 769px) {
  #global-bg-video {
  display: block !important;
}

#mobile-bg-video {
  display: none !important;
}
  .footer {
    margin-left: -40px;
    margin-right: -40px;
    width: calc(100% + 80px);
    padding: 50px 40px 30px;
    min-height: auto;
    margin-top: 40px;
    margin-bottom: -40px;
  }

  .hero-box {
    padding: 20px 40px;
    max-width: 1500px;
    margin: 0 auto;
  }

  #contact {
    padding: 80px 60px;
    max-width: 600px;
  }
}

/* Scroll Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Social Media Icons Styling */
.social-icons, .social-icons-mobile {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.social-icons a img, .social-icons-mobile a img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}
.social-icons a:hover img, .social-icons-mobile a:hover img {
  transform: scale(1.15);
}

/* Laptop View: Hide Quick Links, Show Social Media, Hide Navbar Icons */
@media (min-width: 769px) {
  .quick-links-section {
    display: none !important;
  }
  .social-media-section {
    display: block !important;
  }
  .navbar-social-icons {
    display: none !important;
  }
}

/* Mobile View: Show Quick Links, Hide Social Media (Footer), Show Navbar Icons */
@media (max-width: 768px) {
  .quick-links-section {
    display: block !important;
  }
  .social-media-section {
    display: none !important;
  }
  .navbar-social-icons {
    display: block !important;
    width: 100%;
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  .social-icons-mobile {
    justify-content: center;
    gap: 25px;
  }
  .contact-section {
    margin-bottom: 30px;
  }
}
