* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f9fafb;
  color: #222;
  user-select: none;
}

/* HEADER */
.header {
  padding: 0px 30px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}


.logo {
  font-weight: 700;
  text-decoration: none;
  color: #00a884;
  font-size: 18px;
}

/* HERO */
.reference-hero {
  text-align: center;
  padding: 0px 0px;
  /* background: linear-gradient(to right, #ccd2cc, #ffffff); */
      background: linear-gradient(to right, #e8f5e9, #ffffff);

  margin-top: 50px;

}

.reference-hero h1 {
  font-size: 32px;
}

.reference-hero p {
  color: #555;
  margin-top: 10px;
}

.warning-box {
  background: #ffecec;
  color: red;
  padding: 12px;
  border-radius: 8px;
  margin-top: 20px;
  display: inline-block;
}

/* GALLERY */
.reference-gallery {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
    background: #f1f5f9;


 
  
}

/* 🔥 IMAGE CARD (NO GAP VERSION) */
.image-card {
  width: 300px;
  background: white;
  padding: 0; /* ❌ remove inner gap */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: center;
  cursor: pointer;
  overflow: hidden; /* important for border radius */
}

/* 🔥 IMAGE FULL FIT */
.image-card img {
  width: 90%;
  height: 300px;
  object-fit: contain; /* full image visible */
  background: white;
  display: block;
  transition: 0.3s;
}

/* hover effect */
.image-card:hover img {
  transform: scale(1.03);
}

/* 🔥 TEXT (NO EXTRA SPACE) */
.image-card p {
  margin: 6px 0 10px;
  font-size: 15px;
  font-weight: 500;
}

/* TRUST */
.trust-section {
  text-align: center;
  padding: 10px;
  background: #f1f5f9;
}

.trust-section ul {
  list-style: none;
  margin-top: 20px;
}

.trust-section li {
  margin: 10px 0;
  font-size: 15px;
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 0px;
  margin-bottom: 40px;
     background: #f1f5f9;

}

.btn {
  background: #25D366;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* DISABLE IMAGE DRAG */
img {
  -webkit-user-drag: none;
  user-select: none;
}

.reference-gallery {
  display: flex;
  gap: 40px;              /* 👈 cards ke beech gap kam */
  justify-content: center;
  flex-wrap: wrap;

  padding: 10px 10px 0;   /* 👈 top thoda gap, sides kam */
}

.image-card {
  width: 280px;   /* 👈 thoda compact look */
}body {
  margin: 0;
  padding: 0;
}

.image-card img {
  width: 95%;        /* 🔥 side gap kam */
  height: 300px;
  object-fit: contain;
  margin: 10px auto;
  display: block;
}
#img2, #img3 {
  object-fit: contain;   /* white space remove */
  height: 300px;
}

#img2 {
  object-position: center top;   /* upar ka part dikhe */
}



.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 30px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* 🔥 BUTTON STYLE */
.back-btn {
  font-size: 22px;
  text-decoration: none;
  color: #333;
  background: #f1f1f1;
  padding: 6px 12px;
  border-radius: 8px;
  transition: 0.3s;
}

.back-btn:hover {
  background: #d3e8db;
  color: white;
}
.back-btn {
  font-size: 18px;
  padding: 8px 14px;
  border-radius: 50px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {

  /* HEADER */
  .header {
    padding: 0px 0px;
  }

  .logo {
    font-size: 16px;
  }

  .back-btn {
    font-size: 16px;
    padding: 6px 10px;
  }

  /* HERO */
  .reference-hero {
    padding: 25px 10px;
  }

  .reference-hero h1 {
    font-size: 22px;
  }

  .reference-hero p {
    font-size: 14px;
  }

  .warning-box {
    font-size: 13px;
    padding: 10px;
  }

  /* GALLERY */
  .reference-gallery {
    flex-direction: column;   /* 🔥 ek ke niche ek */
    align-items: center;
    gap: 20px;
    padding: 10px;
  }

  .image-card {
    width: 90%;  /* 🔥 full width look */
    max-width: 320px;
  }

  .image-card img {
    width: 95%;
    height: auto;   /* 🔥 natural height */
    max-height: 260px;
  }

  /* TRUST */
  .trust-section {
    padding: 20px 10px;
  }

  .trust-section h2 {
    font-size: 20px;
  }

  .trust-section li {
    font-size: 14px;
  }

  /* CTA */
  .cta-section {
    padding: 20px 10px;
  }

  .cta-section h2 {
    font-size: 20px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

.logo-box {
  display: flex;
  align-items: center;
}

.logo-box img {
  width: 160px;        /* desktop size */
  height: 90%;
  object-fit: contain;
  color: #555;
}

/* ================= MAP SECTION ================= */
.map-section {
  text-align: center;
  padding: 40px 20px;
}

.map-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.map-section p {
  color: #555;
  margin-bottom: 20px;
}

.map-container {
  max-width: 1000px;
  margin: auto;
}

.map-container img {
  width: 70%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.map-container img:hover {
  transform: scale(1.02);
  transition: 0.3s;
}

.image-card img {
  width: 100%;          /* 🔥 FULL WIDTH */
  height: 300px;
  object-fit: center top;    /* 🔥 IMPORTANT */
  display: block;
  margin: 0;            /* ❌ remove center gap */
  border-radius: 0;     /* optional (clean edge) */
}


.image-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.image-card {
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;

  object-position: top;   /* 🔥 IMPORTANT */
}

#img3 {
  object-fit: contain;   /* 🔥 full image show */
  object-position: center; /* center me aaye */
  background: white;
}

#img3 {
  object-fit: contain;
  object-position: center;
}

.view-more {
  text-align: center;
  margin: 30px 0;
    background: #f1f5f9;


}

.view-more button {
  background: linear-gradient(135deg, #3a403f, #25D366);
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

/* hover effect */
.view-more button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 1000;
}

/* hover effect */
.close-btn:hover {
  color: #fefbfb;
}

.modal img {
  pointer-events: none;
}

.close-wrapper {
  position: absolute;
  top: 20px;
  right: 30px;
}

.close-btn {
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;

  background: black;
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;

  position: absolute;
  top: 35px;

  left: 50%;                     /* 🔥 better than right */
  transform: translateX(-50%);   /* perfect center */

  white-space: nowrap;
  transition: 0.2s;
  z-index: 1001;
}

/* show on hover */
.close-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


.back-wrapper {
  position: relative;
  display: inline-block;
}

/* same tooltip reuse */
.back-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
/* .back-wrapper .tooltip-text {
  top: 35px;   /* neeche */

.back-wrapper .tooltip-text {
  bottom: -35px;  /* upar */
}

.logo-box img {
  height: 100px;   /* perfect header size */
  width: auto;
  display: block;
}


.header {
    padding: 0px 0px;
  }

  .header {
  position: fixed;   /* 🔥 sticky → fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo-box {
  /* display: flex; */
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* logo image */
.logo-box img {
  height: 50px;
}

/* text styling */
.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #00a884;
}

.modal{
  align-items: flex-start;
  padding-top: 100px;
}