/* ================= GLOBAL FIX ================= */

/* Fixed navbar ke liye space */
body {
  padding-top: 90px; /* navbar height ke hisaab se */
}

/* ================= NAVBAR ================= */

.custom-navbar {
  background: #000;
  transition: box-shadow 0.4s ease;
  padding: 6px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  z-index: 9999;
}

.navbar-logo {
  height: 60px;
  width: auto;
}

.navbar-nav {
  align-items: center;
}

/* NAV LINKS */
.navbar-dark .nav-link {
  font-family: "Poligon Regular";
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 14px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  transform: scale(1.15);
}

/* MOBILE */
@media (max-width: 768px) {
  .navbar-nav .nav-link:hover {
    transform: none;
  }

  .navbar-collapse {
    background: #000;
    padding: 15px 0;
  }
}

/* ================= PAGE TITLE ================= */

.page-title {
  margin: 40px 0 30px;
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  font-family:"FormaDJRDisplayNarrow-Thin-Testing";
  color: #000;
}

/* ================= PROJECT GRID ================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 40px 60px; /* navbar se proper gap */
}

.project-card {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 0 18px 22px; 
}

.project-card img {
  height: 220px;
  object-fit: cover;
   margin-left: -18px;
  margin-right: -18px;
  width: calc(100% + 36px);
}

/* ================= PROJECT CARD TEXT ================= */
/* ================= PROJECT CARD CONTENT ================= */

/* Project Name */
.project-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  font-family:"FormaDJRDisplayNarrow-Thin-Testing";
  margin: 15px 0 6px;
}

/* Location */
.project-card .project-location {
  font-size: 16px;
  font-weight: 400;
  font-family:"FormaDJRDisplayNarrow-Thin-Testing";
  color: #000;
  margin-bottom: 6px;
}

/* Size / BHK */
.project-card p {
  font-size: 16px;
  font-weight: 500;
  font-family:"FormaDJRDisplayNarrow-Thin-Testing";
  color: #000;
}

/* ================= BUTTON ================= */

.explore-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 26px;
  border: 1.5px solid #000;
  background: transparent;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-family:"FormaDJRDisplayNarrow-Thin-Testing";
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background: #000;
  color: #fff;
}


/* Button hover */
.explore-btn:hover {
  background: #000;
  color: #fff;
}

/* ================= IMAGE ZOOM ON HOVER ================= */

/* Image wrapper safety */
.project-card {
  overflow: hidden; /* zoom image card ke bahar na nikle */
}

/* Smooth transition */
.project-card img {
  transition: transform 0.5s ease;
}


/* Footer */
.footer{
  background:#000;
  box-shadow: 0 4px 15px rgba(63, 45, 45, 0.4);
   color:#fff;
  padding:60px 80px 30px;
  font-family: Poligon Regular, sans-serif;
}

/* TOP */
.footer-top{
  display:flex;
  gap:80px;
  align-items:flex-start;
}

/* Columns */
.footer-col{
  text-align:left;
}

.footer-logo{
  max-width:160px;
  margin-bottom:20px;
}

.footer-col p{
  font-size: 20px;
  line-height:1.7;
  opacity:0.85;
}

/* Lists */
.footer-col ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-col li{
  margin-bottom:12px;
}

.footer-col a{
  color:#fff;
  text-decoration:none;
  font-size: 20px;
}

.footer-col a:hover{
  opacity:0.7;
}

/* Headings */
.footer-col h4{
  font-size: 20px;
  margin-bottom:18px;
  font-weight:500;
}

/* Social */
.social-icons a{
  margin-right:15px;
  font-size: 20px;
}

/* Bottom */
.footer-bottom{
  margin-top:40px;
  padding-top:15px;
  border-top:1px solid #222;
  display:flex;
  justify-content:flex-end;
}    
.footer-bottom-right a{
  color:#fff;
  margin-left:20px;
  font-size:18px;
  text-decoration:none;
}
/* ================= POLICY POPUP OVERLAY ================= */

.policy-modal{
  position: fixed;
  inset: 0;
  display: none;                 /* JS se show/hide */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

/* ================= POPUP BOX ================= */

.policy-content{
  background: #fff;
  width: 90%;
  max-width: 650px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: 10px;
  position: relative;

  /* 🔥 Control heading–paragraph gap here */
  --hp-gap: 28px;
}

/* ================= HEADING ================= */

.policy-content h2{
  margin-bottom: var(--hp-gap);
  font-family: "FormaDJRDisplayNarrow-Thin-Testing";
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
}

/* ================= PARAGRAPH ================= */

.policy-content p{
  margin-top: 0;
  margin-bottom: 18px;
  font-family: "FormaDJRDisplayNarrow-Thin-Testing";
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

/* ================= CLOSE BUTTON ================= */

.policy-close{
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease;
}

.policy-close:hover{
  color: #000;
}

/* ================= SCROLLBAR (OPTIONAL PREMIUM) ================= */

.policy-content::-webkit-scrollbar{
  width: 6px;
}

.policy-content::-webkit-scrollbar-thumb{
  background: #ccc;
  border-radius: 10px;
}

.policy-content::-webkit-scrollbar-track{
  background: transparent;
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 600px){
  .policy-content{
    padding: 25px;
    --hp-gap: 22px;
  }

  .policy-content h2{
    font-size: 22px;
  }

  .policy-content p{
    font-size: 14px;
  }
}

