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

body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  border-bottom: none;
  padding: 20px 30px;
  position: relative;
  z-index: 1000;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('images/hero.jpg') no-repeat center center/cover;
  position: relative;
  color: #fff;
  padding: 0 20px;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  text-align: center;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.hero-btn {
  padding: 14px 30px;
  background: #FFD700;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.hero-btn:hover {
  background: #c2ba00;
}















/* ===== LANDS LISTINGS ===== */
.lands-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.lands-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 900;
}

.lands-section .lands-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

/* ===== EACH ROW CONTAINER ===== */
.lands-row {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.lands-row::-webkit-scrollbar {
  height: 8px;
}
.lands-row::-webkit-scrollbar-thumb {
  background: #FFD700;
  border-radius: 4px;
}
.lands-row::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* ===== LAND CARD ===== */
.land-card {
  flex: 0 0 calc(33.333% - 20px); /* 3 per row on desktop */
  min-width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

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

/* ===== IMAGE WRAPPER ===== */
.land-images-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.land-images {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.land-images::-webkit-scrollbar {
  display: none;
}

.land-images img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.land-images img:hover {
  transform: scale(1.05);
}

/* ===== IMAGE ARROWS ===== */
.image-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #FFD700;
  border: none;
  font-size: 20px;
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  color: #000;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.image-arrow:hover {
  opacity: 1;
}

.image-arrow.left { left: 10px; }
.image-arrow.right { right: 10px; }

/* ===== DETAILS ===== */
.land-details {
  padding: 15px 20px;
  text-align: left;
}

.land-details h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 900;
}

.land-details p {
  font-size: 16px;
  margin: 5px 0;
}

.land-details i {
  margin-right: 8px;
  color: #FFD700;
}

.buy-btn {
  margin-top: 10px;
  padding: 10px 15px;
  background: #FFD700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  color: #000;
  transition: background 0.3s;
}

.buy-btn:hover {
  background: #c2ba00;
}

/* ===== MODAL ===== */
.land-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  overflow: auto;
  justify-content: center;
  align-items: center;
}

.land-modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .land-card {
    flex: 0 0 calc(33.333% - 15px);
  }
}

@media (max-width: 768px) {
  .land-card {
    flex: 0 0 calc(33.333% - 10px); /* still 3 per row on mobile */
    min-width: 200px;
  }
  .land-images-wrapper {
    height: 200px;
  }
  .lands-section h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .land-card {
    flex: 0 0 calc(33.333% - 8px); /* keep 3 per row even on small screens */
    min-width: 150px;
  }
  .land-details h3 {
    font-size: 16px;
  }
  .land-details p {
    font-size: 13px;
  }
  .buy-btn {
    padding: 8px 10px;
    font-size: 14px;
  }
}















/* ===== LAND MODAL ===== */
.land-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.land-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.land-modal .land-modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 100%;
  max-width: 1000px; /* wider desktop */
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  text-align: left;
  position: relative;
}

/* ===== CLOSE BUTTON ===== */
.land-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  transition: color 0.2s ease;
  z-index: 10001;
}
.land-modal .close-modal:hover { color: #FFD700; }

/* ===== MODAL IMAGES ===== */
.land-modal .modal-images-wrapper {
  position: relative;
  overflow-x: auto;
  margin-bottom: 20px;
}
.land-modal .modal-images {
  display: flex;
  gap: 10px;
  scroll-behavior: smooth;
}
.land-modal .modal-images img {
  flex: 0 0 100%;
  width: 100%;
  max-height: 550px; /* taller desktop images */
  object-fit: cover;
  border-radius: 5px;
  display: block;
}



/* ===== BUY FORM ===== */
.land-modal .buy-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
}
.land-modal .buy-form label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}
.land-modal .buy-form input,
.land-modal .buy-form textarea {
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
  font-size: 14px;
  resize: vertical;
  background: #fff;
}
.land-modal .buy-form textarea {
  grid-column: 1 / -1;
  min-height: 80px;
}
.land-modal .buy-form button {
  grid-column: 1 / -1;
  padding: 14px 20px;
  background: #FFD700;
  border: none;
  color: #000;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.land-modal .buy-form button:hover {
  background: #c2ba00;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .land-card { flex: 0 0 45%; }
}
@media (max-width: 992px) {
  .land-modal .land-modal-content {
    max-width: 90%;
    padding: 22px;
    max-height: 85vh;
  }
  .land-modal .modal-images img { max-height: 350px; }
  .land-card { flex: 0 0 48%; }
}
@media (max-width: 768px) {
  .hero-section { min-height: 60vh; }
  .hero-text h1 { font-size: 32px; }
  .hero-text p { font-size: 16px; }
  .hero-btn { padding: 12px 25px; }
  .lands-wrapper { gap: 15px; }
  .land-card { flex: 0 0 80%; }
  .land-modal .land-modal-content { width: 95%; padding: 20px; max-height: 85vh; }
  .land-modal .modal-images img { max-height: 240px; }
  .land-modal .buy-form { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-section { min-height: 50vh; }
  .hero-text h1 { font-size: 26px; }
  .hero-text p { font-size: 14px; }
  .back-btn { font-size: 22px; }
  .land-card { flex: 0 0 90%; }
  .land-modal .modal-images img { max-height: 200px; }
  .land-modal .buy-form button { padding: 10px 15px; font-size: 15px; }
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.benefits-section h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 15px;
}

.benefits-section .benefits-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.benefits-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  padding: 20px;
}
.benefit-card.visible { transform: translateX(0); opacity: 1; }

.benefit-card .benefit-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.benefit-card i {
  font-size: 36px;
  color: #FFD700;
  flex-shrink: 0;
  margin-top: 5px;
}
.benefit-card .benefit-text h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 5px;
  text-align: left;
}
.benefit-card .benefit-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  text-align: left;
}
@media (max-width: 768px) {
  .benefits-wrapper { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .benefits-section h2 { font-size: 26px; }
  .benefit-card .benefit-text h3 { font-size: 18px; }
  .benefit-card i { font-size: 28px; }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
}
.faq-section h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 15px;
}
.faq-section .faq-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}
.faq-wrapper { display: flex; flex-direction: column; gap: 20px; }

.faq-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.faq-card.visible { transform: translateY(0); opacity: 1; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.faq-question i { font-size: 28px; color: #FFD700; margin-right: 15px; }
.faq-question h3 {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}
.faq-toggle i { font-size: 18px; transition: transform 0.3s ease; }

.faq-answer {
  margin-top: 10px;
  display: none;
  font-size: 15px;
  text-align: left;
  color: #000;
}
.faq-card.active .faq-answer { display: block; }
.faq-card.active .faq-toggle i { transform: rotate(180deg); }

@media (max-width: 768px) {
  .faq-card h3 { font-size: 16px; }
}
@media (max-width: 480px) {
  .faq-section h2 { font-size: 26px; }
  .faq-card h3 { font-size: 15px; }
}







.back-btn {
  position: fixed;
  top: 35%; /* position on screen */
  left: -70px; /* start hidden off-screen */
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05); /* very transparent */
  backdrop-filter: blur(6px); /* subtle glass blur */
  -webkit-backdrop-filter: blur(6px);
  color: #FFD700; /* gold arrow */
  font-size: 22px;
  text-decoration: none;
  width: 60px;
  height: 70px; /* taller to fit text */
  border-radius: 15px; /* softer corners */
  display: flex;
  flex-direction: column; /* stack text above icon */
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* softer shadow */
  border: 1px solid rgba(255, 255, 255, 0.15); /* faint border */
  z-index: 9999;
  opacity: 0;
  animation: slideIn 0.8s ease forwards;
}

.back-btn .back-text {
  font-size: 12px;
  color: #fff; /* keep text white for readability */
  margin-bottom: 4px;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.12); /* slightly stronger on hover */
  transform: translateY(-50%) scale(1.1);
}

@keyframes slideIn {
  0% {
    left: -70px;
    opacity: 0;
  }
  100% {
    left: 15px;
    opacity: 1;
  }
}








/* ===========================
   FOOTER (COMPACT SAME FOR ALL SCREENS)
=========================== */
footer {
  background-color: #FFD700;
  color: #111;
  padding: 12px 10px; 
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px; 
  position: relative;
  overflow: hidden;
}

/* Footer Grid */
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px; 
  margin-bottom: 8px; 
  padding-bottom: 10px;
  position: relative;
}

/* Sleek black divider below grid with pointed ends */
.footer-grid::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.8) 10%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.8) 90%,
    rgba(0,0,0,0) 100%
  );
  opacity: 1;
}

/* Newsletter Section */
.footer-col.newsletter {
  flex: 1 1 220px;
  min-width: 140px;
  margin: 4px 0; 
  text-align: left;
  padding-bottom: 12px;
  position: relative;
}

/* Sleek black divider below newsletter with pointed ends */
.footer-col.newsletter::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.8) 10%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.8) 90%,
    rgba(0,0,0,0) 100%
  );
  opacity: 1;
}

/* Headings & text */
.footer-col h4 {
  font-size: 16px; 
  margin-bottom: 6px;
  color: #111; 
}

.footer-col p,
.footer-col ul li a {
  font-size: 14px; 
  line-height: 1.6; 
  color: #111; 
  margin-bottom: 6px; 
}

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

.footer-col ul li {
  margin-bottom: 4px; 
}

.footer-col ul li a {
  text-decoration: none;
  color: #111; 
}

/* Explore + Contact wrapper */
.explore-contact-wrapper {
  display: flex;
  gap: 8px; 
  flex: 1 1 380px;
  flex-wrap: wrap; 
  margin: 4px 0; 
}

.explore-contact-wrapper .footer-col {
  flex: 1 1 48%;
  min-width: 140px;
}

/* Newsletter form default (mobile) */
.footer-col.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.footer-col.newsletter input {
  width: 100%;
  padding: 10px 12px; 
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px; 
  box-sizing: border-box;
  outline: none;
  text-align: left; 
  color: #111;
}

.footer-col.newsletter button {
  width: 100%;
  padding: 10px 0;
  background-color: #111;
  color: #FFD700;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px; 
  transition: background 0.3s, color 0.3s;
  text-align: center;
}

.footer-col.newsletter button:hover {
  background-color: #fff;
  color: #111;
}

/* ===========================
   FOOTER BOTTOM
=========================== */
.footer-bottom {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  gap: 10px; 
  padding-top: 10px;
  margin-top: 12px;
  text-align: center; 
  position: relative;
}

/* No extra shimmer at end */
.footer-bottom::before {
  display: none;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px; 
  color: #111;
}

.social-icons {
  display: flex;
  gap: 10px; 
  justify-content: center; 
}

.social-icons a {
  color: #111; 
  font-size: 20px; 
  padding: 6px; 
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}

.social-icons a:hover {
  background-color: #fff;
  color: #111;
}

/* ===========================
   FOOTER POPUP MODAL
=========================== */
.footer-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.footer-popup.show {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.footer-popup-content {
  background: #fff; 
  padding: 18px 16px; 
  width: 90%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  position: relative;
  text-align: left;
  line-height: 1.6;
  color: #111; 
}

.footer-popup-content h2 {
  margin-bottom: 8px;
  font-size: 20px; 
  color: #FFD700;
}

.footer-popup-content p {
  margin-bottom: 8px;
  font-size: 15px; 
  color: #111; 
}

.close-footer-popup {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 22px; 
  font-weight: bold;
  color: #111; 
  cursor: pointer;
}

.close-footer-popup:hover { color: #FFD700; }

/* Animations */
@keyframes fadeIn { 
  from { opacity: 0; } 
  to { opacity: 1; } 
}

/* ===========================
   MOBILE RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .footer-grid,
  .explore-contact-wrapper,
  .footer-counters,
  .footer-bottom {
    flex-direction: initial !important; 
    flex-wrap: wrap;
    gap: 8px !important;
  }

  .explore-contact-wrapper .footer-col {
    flex: 1 1 48% !important; 
  }

  .footer-counters .counter {
    flex: 1 1 calc(45% - 10px) !important;
  }

  .footer-col.newsletter {
    text-align: left;  
  }

  .footer-col.newsletter form { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 6px; 
    width: 100%;
  }

  .footer-col.newsletter input {
    width: 100%; 
    height: 36px;      
    text-align: left;
    padding: 6px 10px;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px; 
    color: #111;
  }

  .footer-col.newsletter button {
    width: 100%;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column !important; 
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px; 
  }

  .social-icons {
    gap: 12px;
  }

  .social-icons a {
    font-size: 22px; 
    padding: 8px;
  }
}

/* ===========================
   DESKTOP / TABLET FIX
=========================== */
@media (min-width: 769px) {
  .footer-col.newsletter {
    text-align: left;
  }

  .footer-col.newsletter form {
    display: flex;
    flex-direction: row;
    gap: 6px;
    max-width: 600px;
    width: 100%;
    margin: 0;
  }

  .footer-col.newsletter input {
    flex: 1 1 70%;
    height: 40px;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    color: #111;
  }

  .footer-col.newsletter button {
    flex: 1 1 30%;
    height: 40px;
    padding: 0 12px;
    background-color: #111;
    color: #FFD700;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
  }

  .footer-col.newsletter button:hover {
    background-color: #fff;
    color: #111;
  }
}

/* Sleek pointed divider after MacVillas description */
.footer-divider {
  width: 100%;
  height: 3px;
  margin: 10px 0 12px 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.8) 10%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.8) 90%,
    rgba(0,0,0,0) 100%
  );
  opacity: 1;
  border: none;
}
















.counters-section {
  position: relative;
  /* Animated black-gold gradient background */
  background: linear-gradient(135deg, #000000, #111111, #1a1a1a, #2a1b00, #d4af37);
  background-size: 400% 400%;
  animation: goldFlow 15s ease infinite;

  color: #fff;
  padding: 120px 20px;
  text-align: center;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Animate gradient flow */
@keyframes goldFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Subtle overlay to soften the gold */
.counters-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15), rgba(0, 0, 0, 0.8) 80%);
  z-index: 1;
}

/* Layout */
.footer-counters {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Glassy Gold Cards === */
.counter.glass-card {
  flex: 1 1 220px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 50px 25px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease, transform 1s ease;
  opacity: 0;
  transform: translateY(60px);
}

/* Gold reflective frame */
.counter.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #d4af37, #ffffff20, #d4af37);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Hover with gold glow */
.counter.glass-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 60px rgba(212, 175, 55, 0.3);
  background: rgba(255, 215, 0, 0.1);
}

/* === Slide-in Animation === */
@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Delayed entrance for each card */
.counter.glass-card:nth-child(1) {
  animation: slideInUp 1s ease forwards;
  animation-delay: 0.2s;
}
.counter.glass-card:nth-child(2) {
  animation: slideInUp 1s ease forwards;
  animation-delay: 0.4s;
}
.counter.glass-card:nth-child(3) {
  animation: slideInUp 1s ease forwards;
  animation-delay: 0.6s;
}
.counter.glass-card:nth-child(4) {
  animation: slideInUp 1s ease forwards;
  animation-delay: 0.8s;
}

/* === Gold Counter Text === */
.counter .count {
  display: block;
  font-size: 3.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, #d4af37, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

/* White-gold Label Text */
.counter p {
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}








/* ===============================
   TERMS & CONDITIONS TRAY STYLES
   =============================== */

/* Overlay */
.tc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 9998;
}

/* Tray */
.tc-tray {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 1000px;
  max-height: 90%;
  overflow-y: auto;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  z-index: 9999;
  display: none;
  box-sizing: border-box;
}

.tc-tray.active {
  display: block;
}

/* Header */
.tc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.tc-header h2 {
  color: #000;
  font-size: 28px;
}

.tc-close {
  font-size: 28px;
  cursor: pointer;
  color: #000;
}

/* Content Cards */
.tc-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tc-card {
  background: rgba(255, 215, 0, 0.2); /* FFD700 glassy gold */
  backdrop-filter: blur(8px);
  border-radius: 15px;
  padding: 20px;
  width: 100%;
  color: #000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  box-sizing: border-box;
  word-wrap: break-word;
}

.tc-card h3, .tc-card h4 {
  color: #000;
  margin-bottom: 10px;
}

.tc-card p, .tc-card ul {
  color: #111;
  font-size: 14px;
  line-height: 1.5;
}

.tc-card ul {
  padding-left: 20px;
}

/* Scrollbar */
.tc-tray::-webkit-scrollbar {
  width: 8px;
}

.tc-tray::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}

/* ===============================
   MOBILE RESPONSIVENESS
   =============================== */
@media (max-width: 768px) {
  .tc-tray {
    width: 95%;
    padding: 20px;
  }

  .tc-header h2 {
    font-size: 22px;
  }

  .tc-card {
    padding: 15px;
  }

  .tc-card p, .tc-card ul {
    font-size: 13px;
  }
}
