/* HEADER LAYOUT FIX */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Home page header */
.home-header {
  background: linear-gradient(90deg, #f5d88c, #ffffff);
}

.logo img {
  height: 90px;      /* increased size */
  max-height: 95px;  /* safety limit */
  width: auto;
  display: block;
}


/* Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
}

/* Contact button */
.contact-btn {
  padding: 10px 20px;
  border: 2px solid #000;
  border-radius: 30px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

/* Member login highlight */
.login-highlight {
  background: #d4af37;
  padding: 8px 16px;
  border-radius: 20px;
  color: #000;
}

/* Announcement bar */
.announcement-bar {
  background: #000;
  color: #fff;
  padding: 6px 0;
  font-size: 14px;
}

.hero-section {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

/* Slideshow background */
.hero-slideshow {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: slideshow 8s infinite;
  z-index: 1;
}

/* Dark overlay for text clarity */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  z-index: 2;
}

/* Content on top */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding-top: 180px;
  color: #000;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 35px;
}

/* Buttons */
.hero-buttons .btn {
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 10px;
}

.btn.primary {
  background: #d4af37;
  color: #000;
}

.btn.outline {
  border: 2px solid #000;
  color: #000;
}

/* Slideshow animation */
@keyframes slideshow {
  0%   { background-image: url("../assets/images/hero1.jpg"); }
  25%  { background-image: url("../assets/images/hero2.jpg"); }
  50%  { background-image: url("../assets/images/hero3.jpg"); }
  75%  { background-image: url("../assets/images/hero1.jpg"); }
  100% { background-image: url("../assets/images/hero2.jpg"); }
}

.btn-primary {
  background: #d4af37;
  color: #000;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary {
  border: 2px solid #000;
  color: #000;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.about-home {
  padding: 70px 40px;
  text-align: center;
}

.about-home h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.about-home p {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 16px;
  color: #444;
}

.read-more {
  text-decoration: none;
  font-weight: 600;
  color: #d4af37;
}

.why-us {
  background: #f9f9f9;
  padding: 70px 40px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  font-weight: 600;
}

.cta {
  background: #d4af37;
  padding: 60px 40px;
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
}


/* Footer Styling */
.site-footer {
  background: #111;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  color: #d4af37; /* Gold */
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  color: #ddd;
}

.footer-column a {
  color: #d4af37;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* Bottom Section */
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}

.footer-links {
  margin-top: 8px;
}

.footer-links a {
  color: #d4af37;
  text-decoration: none;
  margin: 0 6px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.about-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: slideshow 8s infinite;
  z-index: 1;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-top: 200px;
  color: #000;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.why-us {
  padding: 80px 10%;
  background: linear-gradient(to right, #fff6d5, #f5d88c);
  text-align: center;
}

.why-us h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.why-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.amenities {
  padding: 80px 10%;
  background: #fff;
  text-align: center;
}

.amenities h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.amenity-card {
  background: #f9f9f9;
  padding: 22px;
  border-radius: 14px;
  font-weight: 500;
  border-left: 5px solid #d4af37;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
/* Top hero section */
.directors-hero {
  background: linear-gradient(135deg, #fffaf0, #f1d98a);
  padding: 70px 20px;
  text-align: center;
}

.directors-hero h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.directors-hero p {
  color: #444;
  max-width: 700px;
  margin: auto;
}

/* Directors cards */
.directors-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 80px 40px;
  background: #fff;
  flex-wrap: wrap;
}

.director-box {
  background: #ffffff;
  padding: 35px 30px;
  width: 340px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  position: relative;
}

.gold-line {
  display: block;
  width: 50px;
  height: 4px;
  background: #d4af37;
  margin: 0 auto 20px;
  border-radius: 2px;
}

.director-box h2 {
  margin-bottom: 6px;
  color: #000;
}

.director-box h4 {
  color: #d4af37;
  margin-bottom: 14px;
  font-weight: 600;
}

.director-box p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}



/* CONTACT SECTION */
.contact-section {
  padding: 80px 10%;
  background: #fff;
}
/* ================= CONTACT SECTION (FINAL FIX) ================= */

.contact-section {
  padding: 80px 10%;
  background: #fff;
}

/* Layout */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* LEFT FORM */
/* CONTACT FORM BOX */
.contact-card {
  background: #fff;
  padding: 30px 32px;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  max-width: 650px;
}

/* FORM ROWS */
.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

/* INPUTS */
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background: #fafafa;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.25);
}

/* MESSAGE FULL WIDTH */
.form-row textarea {
  resize: none;
}

/* ===== CLEAN CONTACT FORM CARD ===== */

.contact-card {
  max-width: 520px;
  background: #fff;

  /* SAME padding on all sides */
  padding: 36px 36px;   /* ← THIS IS THE FIX */

  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
}


/* labels */
#contactForm label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #111;
}

/* inputs */
#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1px solid #bbb;
  font-size: 14px;
  border-radius: 4px;
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: #d4af37;
}

/* golden submit button */
.gold-btn {
  width: 100%;
  background: #d4af37;
  color: #000;
  padding: 14px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.gold-btn:hover {
  background: #b8962e;
}

/* thank you message */
#thankYouMsg {
  display: none;
  margin-top: 16px;
  color: #000;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
}

/* mobile */
@media (max-width: 768px) {
  .contact-card {
    padding: 26px;
  }
}



/* MOBILE */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }

  #contactForm {
    max-width: 100%;
  }
}


/* DETAILS */
.contact-details p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* FOOTER */
.site-footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

.enquiry-btn {
  background: #d4af37;
  color: #000;
  padding: 14px 34px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.enquiry-btn:hover {
  background: #b9962f;
  transform: translateY(-2px);
}



.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 40px 50px;
  width: 80%;
  max-width: 900px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
}

.modal-content h2 {
  font-size: 32px;
  margin-bottom: 25px;
  text-align: center;
}

.enquiry-form {
  display: flex;
  flex-direction:column;
  gap: 22px;
  margin-top: 25px;
  padding: 10px 20px;
}

.enquiry-form input{
   width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}
.enquiry-form textarea {
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  width: 100%;
}

.form-row{
  display: flex;
  gap: 18px;
}


/* Message full width */
.enquiry-form textarea {
  grid-column: span 4;
  height: 120px;
  resize: none;
  margin-top:25px;
}

.enquiry-form button {
  grid-column: span 4;
  background: #d4af37;
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  margin-top:30px;
}

.enquiry-form button:hover {
  background: #b9962f;
}

.enquiry-form.row{
  display:flex;
  gap:22px;
}

@media(max-width:768px){
  .enquiry-form{
    grid-template-columns: 1fr;
  }
  .enquiry-form textarea,
  .enquiry-form button{
    grid-column: span 1;
  }
}

.Footer link 
.popup-box .remind {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
}

/* LOCATION ADVANTAGE – CLEAN BOX */
.location-adv-box {
  padding: 80px 8%;
  background: #ffffff;
  text-align: center;
}

.location-adv-box h2 {
  font-size: 36px;
  margin-bottom: 35px;
}

.location-box {
  max-width: 900px;
  margin: auto;
  background: #fffdf3;
  padding: 35px 45px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  border-left: 6px solid #d4af37;
}

.location-box p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

.view-project-btn {
  background: transparent;
  border: none;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* PROJECT DETAIL PAGE */

.project-detail-hero {
  background: linear-gradient(to right, #fff6d5, #f5d88c);
  text-align: center;
  padding: 90px 20px 70px;
}

.project-detail-hero h1 {
  font-size: 42px;
  margin: 15px 0 10px;
}

.project-detail-hero p {
  font-size: 18px;
  color: #444;
}

.project-details {
  padding: 80px 10%;
  background: #fff;
}

.project-info-box {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.project-info-box h2 {
  font-size: 30px;
  margin-bottom: 25px;
}

.project-info-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.project-info-list li {
  font-size: 17px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.project-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 35px;
}


/* PROJECTS PAGE */

.projects-page {
  background: linear-gradient(to bottom, #fff7d6, #fff);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  padding: 90px 8%;
}

.project-image-card {
  height: 420px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(0,0,0,0.25);
}

.project2 { background-image: url("../assets/images/project2.PNG"); }



.project-details {
  padding: 100px 8%;
}

.details-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.details-img {
  width: 100%;
  border-radius: 18px;
}

.details-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.details-box ul {
  width: 100%;
}


.hidden { display:none; }


/* Status Badge */
.badge {
  position: absolute;
  top: 18px;
  left: 18x;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  z-index: 5;
}

.badge.ongoing {
  background: rgba(0, 180, 90, 0.25);
  border: 1px solid #32d296;
  color: #32d296;
}

.badge.upcoming {
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid #d4af37;
  color: #d4af37;
}

/* Text */
.card-content {
  position: absolute;
  bottom: 45px;
  left: 40px;
  z-index: 2;
  color: #fff;
  max-width: 70%;
}

.view-link {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #d4af37;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  position: relative;
  z-index: 99;
}

.fancy-list li {
  font-size: 19px;
  padding: 14px 18px;
  margin-bottom: 14px;
  background: linear-gradient(to right, #fff7db, #ffffff);
  border-left: 5px solid #d4af37;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateX(-40px);
  animation: slideFade 0.6s forwards;
}

/* Stagger animation */
.fancy-list li:nth-child(1) { animation-delay: .2s; }
.fancy-list li:nth-child(2) { animation-delay: .4s; }
.fancy-list li:nth-child(3) { animation-delay: .6s; }
.fancy-list li:nth-child(4) { animation-delay: .8s; }
.fancy-list li:nth-child(5) { animation-delay: 1s; }

@keyframes slideFade {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-btn {
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #000;
  padding: 16px 40px;
  border-radius: 40px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

/* ===========================
   MEMBER LOGIN PAGE STYLING
=========================== */

.login-section {
  min-height: 100vh;
  background: linear-gradient(to bottom right, #fff6d5, #f5d88c);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Faded background logo */
.login-section::before {
  content: "";
  background: url("../assets/images/logo.png.png") no-repeat center;
  background-size: 480px;
  opacity: 0.08;
  position: absolute;
  inset: 0;
}

/* Login Card */
.login-box {
  background: #ffffff;
  padding: 50px;
  width: 100%;
  max-width: 420px;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
  text-align: center;
}


.login-box h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.login-box p {
  color: #777;
  margin-bottom: 30px;
  font-size: 15px;
}

.login-box input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  margin-bottom: 18px;
  font-size: 15px;
  border-radius: 6px;
}

.login-box input:focus {
  border-color: #d4af37;
  outline: none;
}

.login-box button {
  width: 100%;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
  transition: 0.3s ease;
}

.login-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

.login-links {
  margin-top: 20px;
  font-size: 14px;
}

.login-links a {
  color: #d4af37;
  text-decoration: none;
  margin: 0 6px;
}

.login-links a:hover {
  text-decoration: underline;
}

/* Forgot Password Modal */

#forgotModal .modal-content {
  max-width: 420px;
  text-align: center;
}

#forgotModal input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  margin: 18px 0;
  font-size: 15px;
  border-radius: 6px;
}

#forgotModal button {
  width: 100%;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
}

#forgotModal h1 {
  font-size: 60px;
  margin: 20px 0 10px;
}

.login-logo {
  width: 120px;
  margin-bottom: 18px;
}

/* ========== HARD LOGIN PAGE RESET ========== */
body:has(.login-section) header,
body:has(.login-section) .announcement-bar {
  display: none !important;
}

/* Fullscreen login canvas */
body:has(.login-section) {
  margin: 0;
  background: linear-gradient(to bottom right, #fff6d5, #f5d88c);
}

/* Big faded background logo */
.login-section::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../assets/images/logo.png.png") center no-repeat;
  background-size: 65%;
  opacity: 0.06;
  z-index: 0;
}

/* Center card */
.login-box {
  position: relative;
  z-index: 2;
}

.login-back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  color: #b8962e;
  text-decoration: none;
}

.login-back:hover {
  text-decoration: underline;
}

/* ================= PROJECT 3 ================= */

.project3 {
  background-image: url("../assets/images/project3.png");   /* your image */
  background-size: cover;
  background-position: center;
}

/* Upcoming golden transparent badge */
.project3 .badge {
  background: rgba(212, 175, 55, 0.28);
  border: 1px solid #d4af37;
  color: #d4af37;
}

/* Hover glow */
.project3:hover {
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.45);
}

/* Testimonials Page */

.testimonials-hero {
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(to right,#fff6d5,#f5d88c);
}

.testimonials-hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 30px;
  padding: 80px 10%;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  font-size: 16px;
  position: relative;
}

.testimonial-card::before {
  content: "“";
  font-size: 60px;
  position: absolute;
  top: -10px;
  left: 15px;
  color: #d4af37;
}

.testimonial-card h3 {
  margin-top: 18px;
  color: #d4af37;
  font-size: 15px;
}

.stars {
  color: #d4af37;
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.soon-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.3);
  z-index:9999;
  justify-content:center;
  align-items:center;
}

.soon-box{
  background:#fff;
  padding:22px 30px;
  max-width:360px;
  width:100%;
  border-radius:12px;
  text-align:center;
  box-shadow:0 12px 30px rgba(0,0,0,0.25);
  position:relative;
}

.soon-close{
  position:absolute;
  top:10px;
  right:14px;
  cursor:pointer;
  font-size:20px;
}

/* Gallery Page */

.gallery-hero{
  text-align:center;
  padding:70px 20px;
  background:linear-gradient(to right,#fff6d5,#f5d88c);
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  padding:70px 10%;
}

.gallery-grid img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
  transition:0.3s ease;
  cursor:pointer;
}

.gallery-grid img:hover{
  transform:scale(1.05);
}

/* Legal Pages (Privacy, Terms, Cookies) */

.policy-container {
  max-width: 950px;
  margin: 80px auto;
  background: linear-gradient(to bottom right,#ffffff,#fff8dc);
  padding: 55px;
  border-radius: 24px;
  box-shadow: 0 25px 55px rgba(0,0,0,0.18);
  font-size: 16px;
}

.policy-container h1 {
  font-size: 36px;
  color: #d4af37;
  text-align: center;
  margin-bottom: 30px;
}

.policy-container h3 {
  font-size: 20px;
  color: #000;
  margin-top: 28px;
}

.policy-container p {
  color: #444;
  line-height: 1.8;
  margin-top: 10px;
}

/* Slideshow Fix */


.project-image-card{
  position:relative;
  overflow:hidden;
}

.project-slider{
  position:absolute;
  inset:0;
  z-index:1;
}

.project-slider .slide{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.2s ease;
}

.project-slider .slide.active{
  opacity:1;
}


/* Keep overlays above slides */
.project-image-card .badge,
.project-image-card .project-year,
.project-image-card .card-content{
  position:relative;
  z-index:2;
}

/* ========== CLEAN PROJECT CARDS ========== */

.project-image-card{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 25px 55px rgba(0,0,0,.25);
}

/* Dark gradient for readability */
.project-image-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.15));
  z-index:1;
}

.project-image-card::after{
  pointer-events:none;
}


/* Overlay content */
.project-image-card .card-content{
  position:absolute;
  bottom:35px;
  left:35px;
  z-index:2;
  color:#fff;
  max-width:70%;
}

.project-image-card h3{
  font-size:26px;
  margin-bottom:6px;
}

.project-image-card p{
  font-size:15px;
  opacity:.9;
}

/* Status badge */
.badge{
  position:absolute;
  top:22px;
  left:22px;
  padding:7px 18px;
  border-radius:22px;
  font-size:12px;
  font-weight:700;
  z-index:2;
}

.badge.ongoing{
  background:rgba(46,204,113,.28);
  border:1px solid #2ecc71;
  color:#2ecc71;
}

.badge.upcoming{
  background:rgba(212,175,55,.28);
  border:1px solid #d4af37;
  color:#d4af37;
}

/* === YEAR BADGE FIX === */
.project-year{
  position:absolute;
  top:22px;
  right:22px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 14px;
  border-radius:18px;
  font-size:12px;
  font-weight:700;
  background:rgba(212,175,55,.9);
  color:#000;
  width:auto;
  max-width:max-content;
  white-space:nowrap;
  z-index:3;
}

.project-year.ongoing-year{
  background:rgba(46,204,113,.9);
  color:#003b1a;
}

/* ===== CLEAN PROJECT CARD FIX ===== */

.project-image-card{
  height:420px;
  border-radius:26px;
  overflow:hidden;
  position:relative;
  box-shadow:0 25px 60px rgba(0,0,0,.25);
}

/* Slider layer */
.project-slider{
  position:absolute;
  inset:0;
  z-index:1;
}
.project-slider img{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.3s ease;
}
.project-slider img.active{ opacity:1; }

/* Dark overlay */
.project-image-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.65),rgba(0,0,0,.1));
  z-index:2;
}

/* Top badges */
.project-image-card .badge{
  position:absolute;
  top:20px;
  left:20px;
  z-index:4;
}

.project-year{
  position:absolute;
  top:16px;
  right:16px;
  display:inline-flex;
  align-items:center;
  gap:6px;

  padding:6px 14px;
  border-radius:999px;

  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  width:auto;
  max-width:fit-content;

  background:rgba(0,0,0,0.65);
  color:#fff;
  z-index:10;
}

.project-year.ongoing-year{ background:#32d296; }

/* Text area */
.card-content{
  position:absolute;
  bottom:36px;
  left:36px;
  z-index:4;
  color:#fff;
}

/* Correct year position */
.project-year{
  position:absolute;
  top:18px;
  right:18px;
  z-index:3;
}

/* Restore background images */
.project2{
  background:url("../assets/images/project2.png") center/cover no-repeat;
}
.project3{
  background:url("../assets/images/project3.png") center/cover no-repeat;
}

.badge{
  top:22px;
  left:22px;
}

.project-year{
  top:22px;
  right:22px;
  z-index:3;
}

.card-content{
  position:absolute;
  z-index:4;
}

.project-slider{
  z-index:1;
  pointer-events:none;
}

/* ================= HOME PROJECT MINI CARDS ================= */

.home-projects{
  padding:90px 10%;
  background:linear-gradient(to bottom,#fff7d6,#fff);
  text-align:center;
}

.home-projects-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:60px;
  margin-top:55px;
}

/* mini version of project-image-card */
.home-project-card{
  position:relative;
  height:420px;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 20px 45px rgba(0,0,0,.25);
}

.home-project-card{
  display:flex;
  align-items:stretch;
}

/* background images */
.home-project-card.project1{
  background:url("../assets/images/project1.png") center/cover no-repeat;
}
.home-project-card.project2{
  background:url("../assets/images/project2.png") center/cover no-repeat;
}

/* dark readability overlay */
.home-project-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.7),rgba(0,0,0,.15));
  z-index:1;
}

/* status badge */
.home-project-card .project-status{
  position:absolute;
  top:18px;
  left:18px;
  padding:6px 18px;
  border-radius:20px;
  font-size:12px;
  font-weight:700;
  z-index:3;
}

.project-status.ongoing{
  background:rgba(46,204,113,.25);
  color:#2ecc71;
  border:1px solid #2ecc71;
}
.project-status.upcoming{
  background:rgba(212,175,55,.25);
  color:#d4af37;
  border:1px solid #d4af37;
}

/* overlay content */
.project-overlay{
  position:absolute;
  bottom:28px;
  left:28px;
  z-index:3;
  color:#fff;
}

.project-overlay h3{
  font-size:22px;
  margin-bottom:4px;
}

.project-overlay p{
  font-size:14px;
  opacity:.9;
}

.project-overlay a{
  display:inline-block;
  margin-top:6px;
  color:#d4af37;
  font-weight:600;
  text-decoration:none;
}

/* mobile */
@media(max-width:900px){
  .home-projects-grid{
    grid-template-columns:1fr;
  }
}

/* View All Projects Button */

.view-all-projects{
  margin-top:60px;
  text-align:center;
}

.view-all-projects a{
  display:inline-block;
  padding:16px 44px;
  border-radius:40px;
  font-weight:700;
  font-size:17px;
  text-decoration:none;
  color:#000;
  background:linear-gradient(135deg,#d4af37,#b8962e);
  box-shadow:0 14px 30px rgba(0,0,0,.2);
  transition:.3s ease;
}

.view-all-projects a:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 40px rgba(0,0,0,.3);
}

/* ===== HARD FIX FOR YEAR BADGE ===== */

.project-image-card{
  position:relative;
}

/* Status badge (LEFT) */
.project-image-card .badge{
  top:18px;
  left:18px;
  right:auto !important;
  z-index:10;
}

/* Year badge (RIGHT) */
.project-image-card .project-year{
  top:18px;
  right:18px;
  left:auto !important;
  z-index:11;
}

/* ========= FINAL YEAR BADGE FIX ========= */

.project-image-card{position:relative;}

/* Status badge – LEFT */
.project-image-card .badge{
  top:18px;
  left:18px;
  right:auto !important;
  z-index:20;
}

/* Year pill – RIGHT */
.project-image-card .year-pill{
  position:absolute;
  top:18px;
  right:18px;
  left:auto !important;

  display:flex;
  align-items:center;
  gap:6px;

  padding:6px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  background:rgba(0,0,0,.7);
  color:#fff;
  z-index:25;
}

.year-pill.ongoing-year{background:#32d296;color:#003b1a;}
.year-pill.upcoming-year{background:#d4af37;color:#000;}

.popup{
  display:none;
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.6);
  z-index:9999;
}
.popup-box{
  background:#fff;
  width:350px;
  margin:100px auto;
  padding:20px;
  border-radius:10px;
  position:relative;
}
.popup-box input,.popup-box textarea{
  width:100%;
  padding:10px;
  margin:10px 0;
}
#closePopup{
  position:absolute;
  top:10px; right:15px;
  cursor:pointer;
  font-size:20px;
}

/* HERO ENQUIRY BUTTON PREMIUM LOOK */
/* Enquire Now – white outline style (same size as View Projects) */
#openEnquiry{
  background: #ffffff;
  color: #000;
  border: 2px solid #000;
  padding: 14px 28px;      /* SAME as View Projects */
  border-radius: 30px;    /* SAME as View Projects */
  font-weight: 600;
  font-size: 16px;
  box-shadow: none;
}

#openEnquiry:hover{
  background: #000;
  color: #fff;
}

/* ===== ENQUIRY POPUP PREMIUM REDESIGN ===== */

.popup-box{
  width: 460px;
  padding: 35px 40px 40px;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  animation: popIn .35s ease;
}

/* heading */
.popup-box h2{
  font-size: 30px;
  margin-bottom: 22px;
  text-align: center;
  color: #000;
}

/* inputs */
.popup-box input,
.popup-box textarea{
  border-radius: 10px;
  border: 1.8px solid #ddd;
  padding: 15px 16px;
  font-size: 15px;
  transition: .3s ease;
}

.popup-box input:focus,
.popup-box textarea:focus{
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.25);
  outline: none;
}

/* submit button */
.popup-box button{
  margin-top: 18px;
  width: 100%;
  background: linear-gradient(135deg,#d4af37,#b8962e);
  color: #000;
  border: none;
  border-radius: 40px;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s ease;
}

.popup-box button:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}

/* close button */
#closePopup{
  top: 18px;
  right: 20px;
  font-size: 22px;
  opacity: .6;
}
#closePopup:hover{opacity:1}

/* smooth entrance */
@keyframes popIn{
  from{transform:scale(.9);opacity:0}
  to{transform:scale(1);opacity:1}
}

.menu-icon{
    font-size:28px;
    cursor:pointer;
    position:absolute;
    right:30px;
    top:22px;
    z-index:9999;
}

.mobile-menu{
    display:none;
    position:absolute;
    right:25px;
    top:75px;
    width:240px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    overflow:hidden;
}

.mobile-menu a{
    display:block;
    padding:14px 18px;
    color:#000;
    text-decoration:none;
    border-bottom:1px solid #eee;
    font-weight:600;
}

.mobile-menu a:hover{
    background:#f5d68a;
}

/* HOME page glowing ONGOING pill */
.home-project-card .home-pill{
    position:absolute;
    top:22px;
    left:50%;
    transform:translateX(-50%);
}

.home-projects-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:50px;
}

@media(max-width:900px){
    .home-projects-grid{
        grid-template-columns:1fr;
    }
}

/* ===== MOBILE HEADER FIX ===== */
@media (max-width:768px){

  header a{
    display:none;
  }

  .menu-icon{
    display:block;
    font-size:30px;
  }

  .mobile-menu a{
    display:block;
  }
}

/* ===== MOBILE HEADER FIX ===== */
@media (max-width:768px){

  header a{
    display:none;
  }

  .menu-icon{
    display:block;
    font-size:30px;
  }

  .mobile-menu a{
    display:block;
  }
}

/* ===== PERFECT MOBILE PROJECT CARDS ===== */
/* ================= MOBILE MASTER FIX ================= */
@media (max-width:768px){

/* Header spacing */
.main-header{
  padding:12px 16px;
}

/* Menu */
header a{display:none;}
.menu-icon{display:block;font-size:28px;}
.mobile-menu a{display:block;}

/* Stack project cards */
.projects-grid,
.home-projects-grid{
  grid-template-columns:1fr;
  padding:24px 5%;
  gap:28px;
}

/* Perfect card size */
.project-image-card,
.home-project-card{
  height:240px;
  border-radius:20px;
}

/* Dark overlay */
.project-image-card::after,
.home-project-card::after{
  background:linear-gradient(to top,rgba(0,0,0,.65),rgba(0,0,0,.12));
}

/* Text area */
.card-content,
.project-overlay{
  left:18px;
  right:18px;
  bottom:18px;
}

/* Fonts */
.project-image-card h3,
.home-project-card h3{font-size:16px;}
.project-image-card p,
.home-project-card p{font-size:13px;}
.view-link{font-size:14px;}

/* Pills */
.badge,
.year-pill{
  top:12px;
  padding:6px 14px;
  font-size:11px;
}
}

/* ========= MOBILE ENQUIRY POPUP FIX ========= */
@media (max-width:768px){
  html body .popup-box{
      width:90vw;
      max-width:90vw;
      padding:18px;
  }
}

/* Increase hero video height only on mobile */
@media (max-width: 768px) {
  .hero-video {
    min-height: 520px;   /* increase a little */
  }

  .hero-video video {
    height: 590px;
    object-fit: cover;
  }
}

@media (max-width: 768px) {

  .hero-content {
    padding-top: 120px;   /* pushes text + buttons down */
  }

  .hero-buttons {
    margin-top: 25px;
  }

}

/* Mobile view - 1 image per row */
@media (max-width: 768px) {

  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 12px;
  }

  .gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
  }

}
















