:root {
  --primary: #0f5132; --primary-light: #1a7a4a;
  --accent: #f5b700; --accent-hover: #ffca28;
  --dark: #0a1f14; --dark-surface: #112a1e;
  --bg: #f8faf9; --text: #1a1e1c; --muted: #5d6b63;
  --radius-lg: 24px; --radius-md: 16px;
  --shadow-soft: 0 12px 40px rgba(10,31,20,0.08);
  --shadow-strong: 0 20px 50px rgba(10,31,20,0.2);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

/* =========================================
   BASE & RESET
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; padding-bottom: 80px; overflow-x: hidden; }
body.rtl { font-family: 'Noto Nastaliq Urdu', serif; direction: rtl; }
body.rtl h1 { line-height: 1.5 !important; padding-bottom: 10px; }
body.rtl h2, body.rtl h3, body.rtl .btn { line-height: 2; }
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1240px, 95%); margin: 0 auto; }

/* =========================================
   BUTTONS
   ========================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border-radius: 14px; font-weight: 600; font-size: 16px; border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease; font-family: var(--font-body); }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--accent); color: var(--dark); }
.btn-gold:hover { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(245,183,0,0.3); }
.btn-green { background: var(--primary); color: #fff; }
.btn-green:hover { background: var(--primary-light); box-shadow: 0 8px 20px rgba(15,81,50,0.3); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* =========================================
   TOP TICKER
   ========================================= */
.top-ticker { background: var(--primary); color: var(--accent); text-align: center; padding: 10px 0; font-size: 15px; font-weight: 700; letter-spacing: 0.5px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.top-ticker span { display: inline-flex; align-items: center; gap: 6px; }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header.site { margin: 15px auto; width: 95%; max-width: 1240px; background: #fff; padding: 10px 20px; border-radius: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); position: sticky; top: 15px; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; position: relative; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--primary); font-size: 22px; font-family: var(--font-heading); z-index: 1002; }
.brand .mark { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; }
.brand span.brand-text { color: var(--primary); }

nav.menu { display: flex; gap: 25px; }
nav.menu a { font-weight: 600; color: var(--text); font-size: 15px; transition: color 0.2s; }
nav.menu a:hover { color: var(--primary); }

.header-right { display: flex; align-items: center; gap: 15px; z-index: 1002; }

/* Language Toggle */
.lang { background: #f0f4f1; border-radius: 50px; padding: 4px; display: flex; }
.lang button { background: none; border: none; padding: 6px 15px; font-weight: 700; font-size: 13px; border-radius: 50px; cursor: pointer; color: #555; font-family: inherit; transition: all 0.2s; }
.lang button.active { background: var(--primary); color: #fff; }
/* =========================================
   HAMBURGER & MOBILE MENU (UPDATED)
   ========================================= */
.hamburger { 
  display: none; 
  font-size: 20px; 
  color: var(--primary); 
  background: #f0f4f1; 
  border: none; 
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  cursor: pointer; 
  align-items: center; 
  justify-content: center; 
  flex-shrink: 0; 
  z-index: 1002; 
  pointer-events: auto; 
  transition: background 0.2s ease;
}
.hamburger:hover { background: #e0e8e3; }

.mobile-menu { 
  display: flex; 
  position: absolute; 
  top: calc(100% + 10px); 
  left: 0; 
  right: 0; 
  background: #fff; 
  flex-direction: column; 
  padding: 10px 20px; 
  border-radius: 20px; 
  box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
  z-index: 999; 
  max-height: 60vh; 
  overflow-y: auto; 
  border: 1px solid #eee; 
  
  /* Smooth Animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Jab hamburger click ho toh ye active class lagti hai */
.mobile-menu.active { 
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a { 
  color: var(--primary); 
  text-decoration: none; 
  padding: 14px 0; 
  font-weight: 600; 
  border-bottom: 1px dashed #eee; 
  text-align: center; 
  transition: color 0.2s ease;
}

.mobile-menu a:hover { 
  color: var(--accent); 
}

.mobile-menu a:last-child { 
  border: none; 
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--dark); padding: 60px 0 80px; border-radius: 30px; margin: 15px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-block; background: rgba(245,183,0,0.15); color: var(--accent); font-weight: 700; padding: 8px 18px; border-radius: 50px; font-size: 14px; margin-bottom: 24px; border: 1px solid rgba(245,183,0,0.3); }
.hero h1 { font-family: var(--font-heading); font-size: clamp(36px, 5vw, 56px); line-height: 1.3; font-weight: 700; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); border-bottom: 3px dotted var(--accent); padding-bottom: 2px; text-decoration: none; }
.hero p.sub { font-size: 18px; color: #b0c4b8; margin-bottom: 36px; max-width: 560px; line-height: 1.7; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(20px); }
.hero-card h3 { color: var(--accent); font-size: 22px; margin-bottom: 20px; font-family: var(--font-heading); }
.hero-card ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.hero-card li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: #d0e0d5; }
body.rtl .hero-card li { flex-direction: row-reverse; text-align: right; }
.hero-card li i { color: var(--accent); font-size: 20px; margin-top: 4px; }
.hero-card li strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.hero-card li span { font-size: 14px; color: #8fa396; }

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar { background: #fff; padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.05); border-radius: 20px; margin: 0 15px; }
.trust-bar .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--dark); font-size: 15px; }
.trust-item i { font-size: 24px; color: var(--primary); background: rgba(15,81,50,0.08); padding: 10px; border-radius: 50%; }

/* =========================================
   SECTIONS (Items, How, Why, Bulk, Gallery, Reviews, FAQ, Contact)
   ========================================= */
section.block { padding: 80px 0; }
.title { text-align: center; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
.title h2 { font-family: var(--font-heading); font-size: clamp(32px, 4vw, 44px); color: var(--dark); font-weight: 700; }
.title p { color: var(--muted); margin-top: 12px; font-size: 18px; }

/* Items Grid */
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.item { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.04); }
.item:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.item .media { height: 180px; position: relative; overflow: hidden; }
.item .media img { width: 100%; height: 100%; transition: transform 0.5s ease; }
.item:hover .media img { transform: scale(1.06); }
.item .info { padding: 24px; text-align: center; }
.item h3 { font-family: var(--font-heading); font-size: 20px; color: var(--dark); margin-bottom: 8px; font-weight: 600; }
.item p { font-size: 15px; color: var(--muted); }
.item .tag { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; color: var(--primary); }

/* How it works */
.how { background: var(--dark); color: #fff; border-radius: 30px; margin: 0 15px; }
.how .title h2 { color: #fff; }
.how .title p { color: #8fa396; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-md); padding: 40px 30px; text-align: center; }
.step .num { width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: var(--dark); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: var(--font-heading); }
.step i { font-size: 32px; color: var(--accent); margin-bottom: 16px; }
.step h3 { font-family: var(--font-heading); font-size: 20px; margin-bottom: 10px; font-weight: 600; }
.step p { color: #8fa396; font-size: 15px; }

/* Why Us */
.why-us { background: #fff; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { text-align: center; padding: 30px 20px; border-radius: var(--radius-md); border: 1px solid rgba(0,0,0,0.04); box-shadow: var(--shadow-soft); }
.feature .ico { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: rgba(15,81,50,0.08); color: var(--primary); font-size: 30px; display: flex; align-items: center; justify-content: center; }
.feature h3 { color: var(--dark); font-size: 18px; margin-bottom: 8px; font-family: var(--font-heading); }
.feature p { color: var(--muted); font-size: 15px; }

/* Bulk Section */
.bulk-section { background: var(--bg); }
.bulk-box { background: #fff; border-radius: var(--radius-lg); padding: 50px; text-align: center; box-shadow: var(--shadow-soft); max-width: 900px; margin: 0 auto; border: 2px solid rgba(15,81,50,0.1); }
.bulk-box i.big-icon { font-size: 60px; color: var(--accent); margin-bottom: 20px; }
.bulk-box h3 { font-family: var(--font-heading); font-size: 28px; color: var(--dark); margin-bottom: 16px; }
.bulk-box p { font-size: 18px; color: var(--muted); margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.bulk-features { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 30px; }
.bulk-feat { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--primary); }

/* Gallery */
.gallery { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); height: 250px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* Reviews */
.testimonials { background: var(--bg); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: #fff; padding: 30px; border-radius: var(--radius-md); border: 1px solid rgba(0,0,0,0.04); }
.review-stars { color: var(--accent); margin-bottom: 16px; font-size: 14px; }
.review-text { font-size: 16px; color: var(--text); margin-bottom: 20px; line-height: 1.7; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.review-author .name { font-weight: 600; color: var(--dark); }
.review-author .city { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq-section { background: #fff; }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg); border-radius: var(--radius-md); border: 1px solid rgba(0,0,0,0.04); overflow: hidden; }
.faq-q { padding: 22px 30px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: var(--dark); font-size: 17px; font-family: var(--font-heading); }
.faq-q i { color: var(--muted); transition: transform 0.3s; }
.faq-a { padding: 0 30px 22px; color: var(--muted); font-size: 16px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q i { transform: rotate(180deg); }

/* Contact */
.contact { background: var(--dark); color: #fff; border-radius: 30px; margin: 0 15px; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact h2 { font-family: var(--font-heading); color: var(--accent); font-size: 36px; margin-bottom: 12px; }
.contact .lead { color: #8fa396; font-size: 18px; margin-bottom: 40px; }
.info-line { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; font-size: 18px; }
body.rtl .info-line { flex-direction: row-reverse; text-align: right; }
.info-line i { width: 48px; height: 48px; border-radius: 50%; background: rgba(245,183,0,0.1); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.info-line a:hover { color: var(--accent); }
.card-form { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-strong); }
.card-form h3 { font-family: var(--font-heading); color: var(--dark); font-size: 24px; margin-bottom: 24px; }
.card-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.card-form input, .card-form textarea { width: 100%; padding: 14px 18px; border: 2px solid #e5ebe7; border-radius: 12px; font: inherit; margin-bottom: 18px; color: var(--text); transition: border 0.2s; background: var(--bg); }
.card-form input:focus, .card-form textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.card-form textarea { min-height: 100px; resize: vertical; }
.card-form .btn { width: 100%; }
.card-form small { display: block; margin-top: 12px; color: var(--muted); text-align: center; font-size: 13px; }

footer.site { background: #06140d; color: #6b7f72; text-align: center; padding: 30px 16px; font-size: 14px; margin-top: 40px; }

/* =========================================
   FLOATING & STICKY ELEMENTS
   ========================================= */
.wa-float { position: fixed; right: 20px; bottom: 100px; z-index: 999; width: 55px; height: 55px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 10px 25px rgba(37,211,102,0.4); animation: pulse 2.5s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: rgba(10,31,20,0.98); backdrop-filter: blur(10px); padding: 10px 15px; gap: 10px; box-shadow: 0 -4px 20px rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-bar a { flex: 1; text-align: center; padding: 12px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.mobile-bar .m-call { background: var(--accent); color: var(--dark); }
.mobile-bar .m-wa { background: #25d366; }

/* Popups & Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.show { opacity: 1; transform: none; }
.pop-bg { position: fixed; inset: 0; background: rgba(10,31,20,0.8); backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pop-bg[hidden] { display: none; }
.pop { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 32px; max-width: 420px; width: 100%; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.pop h3 { font-family: var(--font-heading); color: var(--dark); font-size: 24px; margin-bottom: 12px; }
.pop p { font-size: 16px; margin-bottom: 20px; color: var(--muted); }
.pop input, .pop textarea { width: 100%; padding: 14px; border: 2px solid #e5ebe7; border-radius: 12px; margin-bottom: 14px; font: inherit; background: var(--bg); }
.pop-x { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--muted); }
.pop .btn { width: 100%; }
.pop-ok { color: var(--primary); font-weight: 700; text-align: center; margin-top: 16px; }

/* =========================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================= */
@media (max-width: 1024px) {
  .items, .features { grid-template-columns: repeat(2, 1fr); }
  .review-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap, .contact-wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .actions, .hero-card ul { justify-content: center; }
  .hero-card { max-width: 500px; margin: 0 auto; }
  
  /* DESKTOP MENU HIDE KAREIN (Tablet/Mobile ke liye) */
  nav.menu { display: none !important; } 
  
  .desktop-call { display: none !important; } /* Hide call btn in header */
  .hamburger { display: flex !important; } /* Show Hamburger */
}

@media (max-width: 768px) {
  body { padding-bottom: 100px; }
  .items, .features, .review-grid, .steps, .gallery-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  
  /* Header & Logo Mobile Fix */
  header.site { padding: 10px 15px; top: 10px; margin: 10px auto; }
  .brand { font-size: 16px; gap: 8px; }
  .brand .mark { width: 34px; height: 34px; font-size: 16px; }
  
  /* Language & Hamburger Mobile Fix */
  .lang button { padding: 4px 10px; font-size: 12px; }
  .header-right { gap: 10px; }
  
  /* Hero Mobile Fix */
  .hero { padding: 40px 20px 50px; margin: 10px; }
  .hero h1 { font-size: 28px; }
  .hero .actions .btn { width: 100%; }
  
  /* Other Sections Mobile Fix */
  section.block { padding: 50px 0; }
  .card-form { padding: 24px; }
  .trust-bar .wrap { justify-content: center; }
  .bulk-box { padding: 30px 20px; }
  .contact { padding: 40px 20px; }
  
  /* Floating WhatsApp Mobile Fix (Above Mobile Bar) */
  .wa-float { bottom: 100px; right: 15px; width: 50px; height: 50px; font-size: 25px; }
  
  /* RTL Mobile Layout (Logo Right, Hamburger Left) */
  body.rtl .header-inner { flex-direction: row-reverse; }
  body.rtl .header-right { flex-direction: row-reverse; }
}
/* SVG Logo Fix */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand svg {
  width: 100%;
  max-width: 220px;
  height: auto;
}
@media (max-width: 768px) {
  .brand svg {
    max-width: 160px; /* Mobile par thora chota */
  }
}
/* =========================================
   RTL HEADER FIX (For Urdu Layout)
   ========================================= */

/* Header elements ko space dena */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
}

/* Logo ke peeche se black background hatana (Agar hai) */
.brand {
  background: transparent !important;
  display: flex;
  align-items: center;
}

/* Navbar links ko center mein lane ke liye */
nav.menu {
  display: flex;
  gap: 15px;
  margin: 0 auto; /* Center alignment */
}

/* Jab Urdu ho, toh layout ko sahi se flip karein */
body.rtl .header-inner {
  flex-direction: row; /* Browser khud RTL handle karega */
}

/* Mobile/Tablet ke liye spacing fix */
@media (max-width: 1024px) {
  .header-inner {
    gap: 10px;
  }
  .brand svg {
    max-width: 180px !important; /* Logo thora chota taake menu fit ho */
  }
  body.rtl nav.menu {
    display: none; /* Mobile par menu hide rahega */
  }
}
/* =========================================
   FINAL MOBILE HEADER & LAYOUT POLISH
   ========================================= */

@media (max-width: 768px) {
  /* 1. Header ko thora compact aur balanced karein */
  header.site {
    padding: 8px 12px !important;
    margin: 10px auto !important;
    height: auto !important;
  }

  /* 2. Logo ka size thora bara karein taake clear parha jaye */
  .brand svg {
    max-width: 170px !important; 
    height: auto !important;
  }

  /* 3. Logo, Language aur Menu ke darmiyan gap set karein */
  .header-inner {
    gap: 10px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* 4. Language Toggle ko chota aur pyara banayein */
  .lang {
    padding: 2px !important;
  }
  .lang button {
    padding: 5px 10px !important;
    font-size: 11px !important;
  }

  /* 5. Hamburger button ko center align karein */
  .hamburger {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* 6. WhatsApp Float Button ko neeche wali bar se upar shift karein */
  .wa-float {
    bottom: 90px !important; /* Pehle 95 tha, isko thora adjust kiya */
    right: 12px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 24px !important;
  }
}
