* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2d7d46;
}

.btn-nav {
  background: #2d7d46;
  color: white !important;
  padding: 10px 25px;
  border-radius: 5px;
}

.btn-nav:hover {
  background: #236338 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

.promo-banner {
  position: relative;
  margin-top: 80px;
  background: #1a5d2e;
  text-align: center;
}

.promo-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.promo-banner a {
  display: block;
}

.close-banner {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 10;
}

.close-banner:hover {
  background: rgba(0, 0, 0, 0.8);
}

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a4d2e 0%, #2d7d46 50%, #4a9f64 100%);
  display: flex;
  align-items: center;
  padding: 100px 20px 50px;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/unit2.jpeg') center/cover;
  opacity: 0.5;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-left {
  color: white;
  text-align: center;
}

.hero-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.hero-left h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
  opacity: 0.7;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.btn-primary {
  display: inline-block;
  background: #ffc107;
  color: #1a4d2e;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-form h3 {
  color: #1a4d2e;
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

.hero-form>p {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #2d7d46;
}

.btn-submit {
  width: 100%;
  background: #2d7d46;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #236338;
}

.about {
  padding: 100px 0;
  background: #f8f9fa;
}

.about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-logo {
  max-width: 300px;
  margin-bottom: 30px;
}

.about-content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a4d2e;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #2d7d46;
  margin: 20px auto;
}



.slider-dots,
.facility-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.dot {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  color: #666;
  transition: all 0.3s;
}

.dot.active,
.dot:hover {
  background: #2d7d46;
  color: white;
}

.unit-types {
  padding: 100px 0;
  background: #f8f9fa;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.unit-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.unit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.unit-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ffc107;
  color: #1a4d2e;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 700;
  z-index: 1;
}

.unit-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.unit-info {
  padding: 25px;
}

.unit-info h3 {
  color: #1a4d2e;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.unit-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.spec {
  font-size: 0.85rem;
  color: #666;
}

.spec i {
  color: #2d7d46;
  margin-right: 8px;
}

.unit-floors {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
  color: #666;
}

.unit-floors span {
  font-size: 2rem;
  font-weight: 700;
  color: #2d7d46;
}

.promo {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a4d2e 0%, #2d7d46 100%);
  color: white;
}

.promo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.promo-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.promo-text .badge {
  display: inline-block;
  background: #ffc107;
  color: #1a4d2e;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 700;
}

.promo-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
}

.promo-form .form-group label {
  color: #333;
}

.fasilitas {
  padding: 100px 0;
  background: white;
}

.section-subtitle {
  text-align: center;
  font-size: 1.5rem;
  color: #2d7d46;
  margin-bottom: 10px;
}

.section-desc {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.facility-card-new {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.facility-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.facility-icon {
  width: 60px;
  height: 60px;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.facility-icon i {
  font-size: 1.5rem;
  color: #2d7d46;
}

.facility-card-new h3 {
  color: #1a4d2e;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.facility-card-new p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.lokasi {
  padding: 100px 0;
  background: #f8f9fa;
}

.lokasi-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.lokasi-text p {
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

.lokasi-highlights {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.highlight {
  flex: 1;
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.highlight:hover {
  transform: translateY(-5px);
}

.highlight .time {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d7d46;
  line-height: 1;
  margin-bottom: 5px;
}

.highlight .unit {
  display: block;
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
}

.highlight .dest {
  display: block;
  font-size: 0.95rem;
  color: #333;
  margin-top: 10px;
  font-weight: 500;
}

.lokasi-map iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.footer {
  background: #1a4d2e;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-logo p {
  opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links a {
  display: block;
  color: white;
  opacity: 0.8;
  text-decoration: none;
  margin-bottom: 10px;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact p {
  opacity: 0.8;
  margin-bottom: 10px;
}

.footer-contact i {
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-card,
  .facility-card,
  .promo-content,
  .lokasi-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-left h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .lokasi-highlights {
    flex-direction: column;
    gap: 15px;
  }

  .btn-submit {
    padding: 12px;
    font-size: 1rem;
  }

  .form-group {
    margin-bottom: 15px;
  }
}

/* Premium Unit Pop-up Styles */
.popup-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  padding: 20px;
}

.popup-card {
  background: white;
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  animation: slideIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color 0.3s;
  background: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-popup:hover {
  color: #2d7d46;
}

.popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.popup-image {
  min-height: 400px;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#popupTitle {
  color: #1a4d2e;
  font-size: 2rem;
  margin-bottom: 15px;
}

.popup-description {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.popup-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #444;
  font-weight: 500;
}

.spec-item i {
  color: #2d7d46;
  font-size: 1.1rem;
}

.btn-popup-contact {
  text-decoration: none;
  text-align: center;
  padding: 15px;
  background: #2d7d46;
  color: white;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-popup-contact:hover {
  background: #1a4d2e;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media only screen and (max-width: 768px) {

  /* Overrides for Unit Pop-up on Mobile */
  .popup-grid {
    grid-template-columns: 1fr;
  }

  .popup-image {
    min-height: 250px;
  }

  .popup-info {
    padding: 30px;
  }

  .popup-card {
    max-height: 90vh;
    overflow-y: auto;
  }

  #popupTitle {
    font-size: 1.5rem;
  }
}


/* Auto Promo Pop-up Styles (Universal) */
.promo-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.promo-modal-content {
  max-width: 600px;
  width: 100%;
  position: relative;
  animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-link img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: block;
}

.close-promo {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: white;
  color: #333;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 3001;
  transition: transform 0.2s;
}

.close-promo:hover {
  transform: scale(1.1);
  color: #2d7d46;
}

/* Floating WhatsApp Button (Universal) */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2500;
  background-color: #25D366;
  color: white;
  padding: 16px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s both;
}

.whatsapp-float i {
  font-size: 32px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float span {
  font-weight: 700;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  font-size: 1rem;
}

.whatsapp-float:hover {
  background-color: #20bd5a;
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  gap: 12px;
  padding-left: 20px;
  padding-right: 20px;
}

.whatsapp-float:hover span {
  max-width: 200px;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Scroll Lock Helper */
body.no-scroll {
  overflow: hidden;
}

@media only screen and (max-width: 600px) {
  .promo-modal-content {
    max-width: 95%;
  }

  .close-promo {
    top: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px;
  }

  .whatsapp-float i {
    font-size: 28px;
  }
}