/* ================= WHATSAPP FLOATING BUTTON ================= */

#whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
}

#whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
}

/* ICON */
#whatsapp-float i {
  font-size: 30px;
}

/* NUMBER BADGE */
.wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}


/* DISCOUNT FLOAT */
#discount-float {
  position: fixed;
  bottom: 110px; /* above WhatsApp */
  right: 20px;
  width: 60px;
  height: 60px;
  background: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  z-index: 999;
}

#discount-float:hover {
  transform: scale(1.05);
}

/* BADGE – icon ke opposite (LEFT OUTSIDE) */
.discount-badge {
  position: absolute;
  top: 50%;
  left: -10px;              /* icon ke bilkul opposite */
  transform: translateY(-50%);
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 50%;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}


.discount-text {
  position: absolute;
  right: 70px;
  background: #16a34a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateX(10px);
  transition: 0.3s ease;
  pointer-events: none;
}

/* Show text on hover */
#discount-float:hover .discount-text {
  opacity: 1;
  transform: translateX(0);
}


/* POPUP */
#discount-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.discount-box {
  background: #fff;
  padding: 25px;
  max-width: 380px;
  width: 90%;
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.discount-box h3 {
  margin-bottom: 10px;
}

.discount-box p {
  font-size: 15px;
  color: #475569;
}

.discount-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 18px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

/* CLOSE */
.close-discount {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
}


/* ================= BLOG HERO ================= */
.blog-hero {
  position: relative;
  padding: 140px 20px;
  background:
    linear-gradient(rgba(15,31,61,0.85), rgba(15,31,61,0.85)),
    url('hero.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.blog-hero h1 {
  font-size: 44px;
  font-family: var(--font-heading);
  margin-bottom: 14px;
}

.blog-hero p {
  max-width: 750px;
  margin: 0 auto;
  font-size: 17px;
  opacity: 0.95;
}

@media (max-width: 576px) {
  .blog-hero h1 {
    font-size: 30px;
  }
}


/* ================= BLOG SECTION ================= */
.blog-section {
  padding: 100px 20px;
  background: #ffffff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .blog-content {
  padding: 22px;
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 14px;
}

.blog-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}


.blog-modal{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,.7);
z-index:9999;
}
.blog-modal-content{
background:#fff;
max-width:800px;
margin:40px auto;
padding:20px;
border-radius:12px;
}
.blog-modal-content img{
width:100%;
border-radius:10px;
}
.close-blog{
font-size:26px;
cursor:pointer;
}




