/* DonJed Energy Master Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Design Tokens (CSS Variables) */
:root {
  --primary-color: #048D2B;
  --primary-hover: #037222;
  --secondary-color: #007B26;
  --accent-color: #cfa21a;
  --text-dark: #1e2820;
  --text-light: #ffffff;
  --text-muted: #5a665e;
  --white: #f0fded;
  --bg-light: var(--white);
  --bg-white: var(--white);
  --bg-card: var(--white);
  --border-color: #dbe8db;
  --shadow-sm: 0 2px 4px rgba(4, 141, 43, 0.05);
  --shadow-md: 0 4px 12px rgba(4, 141, 43, 0.08);
  --shadow-lg: 0 10px 25px rgba(4, 141, 43, 0.12);
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --border-radius-pill: 50px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
  --header-height: 80px;
  --img-placeholder-bg: #f0f0f0;
  --input-focus-bg: #ffffff;
  --input-focus-color: #1e2820;
}

/* Dark Mode Variables Override */
body.dark {
  --bg-light: #0d120e;
  --bg-white: #121813;
  --bg-card: #161f18;
  --text-dark: #f0f4f0;
  --text-muted: #9aaf9e;
  --border-color: #243026;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
  --img-placeholder-bg: #1a231b;
  --input-focus-bg: #1e2820;
  --input-focus-color: #f0f4f0;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera globally */
::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-weight: 500;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 141, 43, 0.2);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-outline-white:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ==========================================================================
   Segmented Island Floating Navigation Bar (Matches website_reference/Pasted image.png)
   ========================================================================== */
header#main-header {
  height: auto;
  min-height: auto;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  transition: top 0.3s ease;
  padding: 0;
}

header#main-header.scrolled {
  top: 12px;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  left: 0;
  right: 0;
  width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  pointer-events: none;
}

/* Island 1: Logo Capsule */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--primary-color) !important;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 9999px;
  padding: 8px 22px 8px 14px;
  pointer-events: auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  text-decoration: none;
}

.logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.14);
}

.logo svg {
  stroke: var(--primary-color) !important;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.logo img {
  height: 34px;
  width: auto;
}

/* Island 2: Menu Capsule (Matches website_reference/Pasted image.png) */
.nav-menu {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 9999px;
  padding: 6px 8px;
  pointer-events: auto;
  list-style: none;
  margin: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  color: #4b5563 !important;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  display: none !important;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .nav-link {
    padding: 7px 13px;
    font-size: 14px;
  }
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Active Pill State matching Pasted image.png */
.nav-link.active {
  background: transparent !important;
  color: #111827 !important;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Island 3: Actions / Cart Capsule */
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 9999px;
  padding: 6px;
  pointer-events: auto;
}

.action-btn {
  background: transparent !important;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.action-btn svg,
.action-btn svg circle,
.action-btn svg path,
.action-btn svg line {
  stroke: #1e2820 !important;
  fill: none;
  width: 19px;
  height: 19px;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.menu-toggle {
  display: none;
  background: transparent !important;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
}

.menu-toggle svg,
.menu-toggle svg line {
  stroke: #1e2820 !important;
  width: 20px;
  height: 20px;
}

/* Hero Section - Matching Reference Design */
.hero-wrapper {
  padding: 0;
  background-color: transparent;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

.hero {
  position: relative;
  background: 
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.1) 75%, transparent 100%),
    url('../images/hero_bg.png') no-repeat center 35%/cover;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 150px 0 60px 0;
  color: var(--text-light);
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: auto;
  flex: 1;
  width: 100%;
  position: relative;
}

.hero-content {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero .motion-heading,
.hero .motion-fade-up {
  opacity: 1 !important;
  transform: none !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}

.hero-badge-icon {
  color: #f59e0b;
  font-size: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-description {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 35px;
  max-width: 600px;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-btn-primary:hover,
.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.hero-btn-arrow {
  width: 28px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.hero-btn-primary:hover .hero-btn-arrow {
  transform: translate(2px, -2px);
  background-color: #048D2B;
}

/* Stats Card at Bottom-Left */
.hero-stats-card {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  max-width: fit-content;
  background: rgba(14, 22, 16, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px 28px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  max-width: 130px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-bg-white {
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-size: 36px;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(4, 141, 43, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--primary-color);
  fill: none;
  stroke-width: 2;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 15px;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.product-img-container {
  height: 200px;
  overflow: hidden;
  background-color: var(--img-placeholder-bg);
  position: relative;
}

.product-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-img-container img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 5px;
}

.product-title-text {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 15px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.product-old-price {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.product-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.product-btn-add {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.product-btn-add:hover {
  background-color: var(--primary-hover);
}

.product-btn-view {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-dark);
}

.product-btn-view:hover {
  background-color: var(--bg-light);
}

/* Installations Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 141, 43, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--text-light);
  font-size: 18px;
  font-weight: 700;
}

.gallery-location {
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 600;
}

/* Stay In Touch / Footer Form */
.cta-banner {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 0;
  text-align: center;
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-desc {
  margin-bottom: 25px;
  opacity: 0.9;
}

.email-form {
  display: flex;
  gap: 10px;
}

.email-form input[type="email"] {
  flex: 1;
  padding: 15px 25px;
  border-radius: var(--border-radius-pill);
  border: none;
  font-size: 15px;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.email-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.email-form input[type="email"]:focus {
  outline: none;
  background-color: var(--input-focus-bg);
  color: var(--input-focus-color);
}

.email-form button {
  padding: 15px 30px;
}

/* Footer */
footer {
  background-color: #0b110c;
  color: #cdd8cd;
  padding: 60px 0 30px 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col-title {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.footer-about p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--primary-color);
  fill: none;
  stroke-width: 2;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Floating Actions */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999 !important;
  transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Floating Home Button (appears above WhatsApp button on non-home pages) */
.floating-home-btn {
  position: fixed;
  bottom: 82px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff !important;
  color: #1f2937 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  z-index: 9999 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

.floating-home-btn:hover {
  transform: scale(1.1) !important;
  background-color: var(--primary-color, #16a34a) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4) !important;
}

.floating-home-btn svg {
  width: 22px !important;
  height: 22px !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  fill: none !important;
  transition: transform 0.25s ease;
}

.floating-home-btn:hover svg {
  transform: translateY(-1px);
}

/* Cart Drawer */
/* ==========================================================================
   Floating Cart Popover Menu (Matches website_reference/cart.png)
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 2400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.cart-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Floating Card Popover */
.cart-drawer,
.cart-popover {
  position: fixed;
  top: calc(var(--header-height, 70px) + 12px);
  right: 24px;
  width: 390px;
  max-width: calc(100vw - 32px);
  max-height: min(620px, calc(100vh - 100px));
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #E6EAE8;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open,
.cart-popover.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Popover Header */
.cart-drawer-header,
.cart-popover-header {
  padding: 16px 20px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
}

.cart-drawer-title,
.cart-popover-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.close-drawer,
.cart-popover-close {
  background: #F4F6F5;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #6b7280;
  transition: all 0.2s ease;
  padding: 0;
}

.close-drawer:hover,
.cart-popover-close:hover {
  background: #E5E7EB;
  color: #111827;
}

.close-drawer svg,
.cart-popover-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* Popover Body with Inner Card Container (Matches cart.png border box) */
.cart-drawer-items,
.cart-popover-body {
  padding: 0 16px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.cart-popover-card-box {
  border: 1px solid #E6EAE8;
  border-radius: 16px;
  padding: 12px 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

/* Vendor / Brand Header */
.cart-popover-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  padding-bottom: 8px;
  border-bottom: 1px solid #F3F4F6;
}

.cart-popover-brand-row svg {
  color: var(--premium-green);
}

/* Items List */
.cart-popover-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-popover-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cart-popover-item-img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #F4F6F5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 4px;
  box-sizing: border-box;
}

.cart-popover-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-popover-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-popover-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.cart-popover-cat {
  font-size: 10px;
  font-weight: 700;
  color: #4b5563;
  background: #F4F6F5;
  padding: 2px 7px;
  border-radius: 100px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.cart-popover-item-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.cart-item-old-price {
  font-size: 11px;
  color: #9ca3af;
  text-decoration: line-through;
}

.cart-popover-price {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.cart-popover-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.cart-popover-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.cart-popover-unit-price {
  font-size: 11px;
  color: #9ca3af;
}

/* Stepper (Matches [ - ] 1 [ + ] in cart.png) */
.cart-popover-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #E6EAE8;
  border-radius: 8px;
  background: #ffffff;
  padding: 1px 4px;
  gap: 6px;
}

.cart-stepper-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-stepper-btn:hover {
  color: #111827;
}

.cart-stepper-val {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  min-width: 14px;
  text-align: center;
}

.cart-popover-trash {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s;
}

.cart-popover-trash:hover {
  color: #ef4444;
}

/* Popover Footer (Matches 'View All' in cart.png) */
.cart-drawer-footer,
.cart-popover-footer {
  padding: 14px 16px 16px 16px;
  border-top: 1px solid #F3F4F6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
}

.cart-popover-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: #6b7280;
  font-weight: 500;
}

.cart-popover-total {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}

.cart-popover-viewall-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #E6EAE8;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.cart-popover-viewall-btn:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Empty State inside Popover */
.cart-popover-empty {
  padding: 30px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cart-empty-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #F4F6F5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.cart-popover-empty h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.cart-popover-empty p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  max-width: 240px;
  line-height: 1.4;
}

.cart-empty-browse-btn {
  margin-top: 8px;
  display: inline-block;
  background: var(--premium-green);
  color: #ffffff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.cart-empty-browse-btn:hover {
  opacity: 0.9;
}

/* Mobile Responsiveness for Cart Popover */
@media (max-width: 640px) {
  .cart-drawer,
  .cart-popover {
    top: calc(var(--header-height, 70px) + 8px);
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - 90px);
    border-radius: 18px;
  }
}

/* Dark Mode Support */
body.dark .cart-drawer,
body.dark .cart-popover {
  background: #1f2937;
  border-color: #374151;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}
body.dark .cart-drawer-title,
body.dark .cart-popover-title,
body.dark .cart-popover-brand-row,
body.dark .cart-popover-item-title,
body.dark .cart-popover-price,
body.dark .cart-popover-total,
body.dark .cart-stepper-val,
body.dark .cart-popover-empty h4 {
  color: #f9fafb;
}
body.dark .close-drawer,
body.dark .cart-popover-close {
  background: #374151;
  color: #d1d5db;
}
body.dark .close-drawer:hover,
body.dark .cart-popover-close:hover {
  background: #4b5563;
  color: #ffffff;
}
body.dark .cart-popover-card-box {
  background: #111827;
  border-color: #374151;
}
body.dark .cart-popover-brand-row {
  border-color: #374151;
}
body.dark .cart-popover-item-img,
body.dark .cart-popover-cat,
body.dark .cart-empty-icon-wrap {
  background: #1f2937;
  color: #9ca3af;
}
body.dark .cart-popover-stepper {
  background: #1f2937;
  border-color: #374151;
}
body.dark .cart-stepper-btn {
  color: #9ca3af;
}
body.dark .cart-stepper-btn:hover {
  color: #f9fafb;
}
body.dark .cart-drawer-footer,
body.dark .cart-popover-footer {
  background: #1f2937;
  border-color: #374151;
}
body.dark .cart-popover-viewall-btn {
  background: #111827;
  color: #f9fafb;
  border-color: #374151;
}
body.dark .cart-popover-viewall-btn:hover {
  background: #ffffff;
  color: #111827;
  border-color: #ffffff;
}

.cart-overlay.open {
  display: block;
}

.empty-cart-msg {
  text-align: center;
  color: var(--text-muted);
  margin-top: 40px;
}

/* ==========================================================================
   Universal Page Hero Section (Matches Home Page Hero Aesthetic)
   ========================================================================== */
.page-header {
  position: relative;
  background: 
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 50%, rgba(0, 0, 0, 0.8) 100%),
    url('../images/hero_bg.png') no-repeat center 35% / cover;
  padding: 160px 0 70px 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  border-bottom: none;
  overflow: hidden;
  box-sizing: border-box;
}

.page-title {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 22px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto;
}

.breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--primary-color);
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.6);
}

/* Forms (Contact, Quotation, Checkout) */
.form-card {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full {
  grid-column: span 2;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 15px;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(4, 141, 43, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Shop Controls */
.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.search-box input {
  padding-right: 45px;
}

.search-box svg {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  stroke-width: 2;
  fill: none;
}

.filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

/* Product Detail Page */
.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.detail-img-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.detail-img-box img {
  width: 100%;
  border-radius: var(--border-radius-sm);
  object-fit: contain;
}

.detail-info {
  padding: 10px 0;
}

.detail-cat {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.detail-title {
  font-size: 32px;
  margin-bottom: 15px;
}

.detail-price-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.detail-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
}

.detail-old-price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.detail-desc {
  color: var(--text-dark);
  margin-bottom: 30px;
  font-size: 16px;
  opacity: 0.9;
}

.detail-purchase {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.detail-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-pill);
  padding: 6px;
  background-color: var(--bg-white);
}

.detail-qty .qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
}

.detail-qty .qty-val {
  width: 35px;
  text-align: center;
}

.detail-tabs {
  margin-top: 40px;
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.tab-btn {
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: var(--text-muted);
}

.tab-btn.active {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 12px;
  font-size: 15px;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--text-dark);
  width: 30%;
}

.specs-table td:last-child {
  color: var(--text-muted);
}

/* Cart & Checkout Pages */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cart-table th {
  background-color: var(--bg-light);
  padding: 15px;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
}

.cart-table td {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.cart-item-row-details {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-item-row-img {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background-color: var(--img-placeholder-bg);
}

.cart-item-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-summary-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
  border-bottom: none;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-color);
  padding-top: 20px;
}

/* Checkout Page specific layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.checkout-section-title {
  font-size: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
}

.payment-options {
  margin-top: 15px;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-option:hover {
  border-color: var(--primary-color);
}

.payment-option input[type="radio"] {
  margin-top: 4px;
}

.payment-option-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 3px;
}

.payment-option-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Admin Panel */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-actions-bar {
  display: flex;
  gap: 10px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-table th {
  background-color: var(--bg-light);
  padding: 15px;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
}

.admin-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.admin-product-img {
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background-color: var(--img-placeholder-bg);
}

.admin-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background-color var(--transition-fast);
}

.action-icon-btn svg {
  width: 18px;
  height: 18px;
}

.btn-edit {
  color: var(--primary-color);
}

.btn-edit:hover {
  background-color: rgba(4, 141, 43, 0.08);
}

.btn-delete {
  color: #ff3b30;
}

.btn-delete:hover {
  background-color: rgba(255, 59, 48, 0.08);
}

/* Lead quick actions (WhatsApp / Call) */
.action-icon-btn.btn-lead-whatsapp {
  color: #25d366;
  background-color: rgba(37, 211, 102, 0.14);
}

.action-icon-btn.btn-lead-whatsapp:hover {
  background-color: rgba(37, 211, 102, 0.26);
}

.action-icon-btn.btn-lead-call {
  color: #1d4ed8;
  background-color: rgba(29, 78, 216, 0.12);
}

.action-icon-btn.btn-lead-call:hover {
  background-color: rgba(29, 78, 216, 0.24);
}

/* Signed-in session bar */
.admin-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 14px;
}

.role-chip {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 6px;
}

.role-chip-admin {
  background: rgba(4, 141, 43, 0.1);
  color: var(--primary-color);
}

.role-chip-sales {
  background: rgba(234, 179, 8, 0.15);
  color: #a16207;
}

body.dark .role-chip-sales {
  color: #facc15;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  position: relative;
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
}

.modal.open .modal-content {
  transform: translateY(0);
}

.modal-title {
  font-size: 22px;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-muted);
}

/* Passcode Modal specific styling */
.passcode-modal {
  max-width: 360px;
}

/* Quotation Packages */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.quote-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  border: 2px solid var(--border-color);
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.quote-card.popular {
  border-color: var(--primary-color);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  color: #000000;
  padding: 4px 15px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
}

.quote-card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 25px;
  text-align: center;
}

.quote-card-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.quote-card-subtitle {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
}

.quote-card-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 15px;
}

.quote-card-list {
  margin-bottom: 30px;
  flex-grow: 1;
}

.quote-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.quote-card-list svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary-color);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .form-card {
    padding: 20px;
  }
  :root {
    --header-height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: calc(100% - 40px);
    max-width: 320px;
    height: auto;
    max-height: calc(100vh - 90px);
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.9);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    pointer-events: auto;
  }

  .nav-menu.open {
    left: 20px;
  }

  .nav-menu .nav-link {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 18px;
    font-size: 16px;
  }

  .menu-toggle {
    display: flex !important;
  }

  .hero-wrapper {
    padding: 0;
  }

  .hero {
    border-radius: 0;
    padding: 130px 0 45px 0;
    min-height: auto;
    background: 
      linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.85) 100%),
      url('../images/hero_bg.png') no-repeat center center/cover;
  }

  .hero-container {
    min-height: auto;
    gap: 30px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-stats-card {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    padding: 18px 20px;
  }

  .hero-stat-label {
    max-width: 100%;
  }

  .section-title {
    font-size: 28px;
  }

  .detail-layout,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }

  .email-form {
    flex-direction: column;
    border-radius: 0;
  }

  .email-form input[type="email"] {
    width: 100%;
    border-radius: var(--border-radius-pill);
  }

  .email-form button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Category cards grid in Admin Panel */
.admin-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.admin-category-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.admin-category-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.admin-category-card-icon {
  width: 55px;
  height: 55px;
  border-radius: 55px;
  background-color: rgba(4, 141, 43, 0.08); /* light primary green tint */
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all var(--transition-normal);
}

.admin-category-card:hover .admin-category-card-icon {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.admin-category-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.admin-category-card-count {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 700;
  background-color: rgba(4, 141, 43, 0.08);
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  display: inline-block;
  transition: all var(--transition-normal);
}

.admin-category-card:hover .admin-category-card-count {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* Blog & Financing Card Hover Animations */
.blog-card {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal) !important;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md) !important;
}
.blog-card img {
  transition: transform 0.5s ease !important;
}
.blog-card:hover img {
  transform: scale(1.05);
}

.financing-card {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal) !important;
}
.financing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color) !important;
}

/* ============================================
   Dark Mode — Comprehensive Overrides
   Covers elements that use hardcoded rgba() or
   inline-unfriendly values and need explicit
   dark-mode adjustments.
   ============================================ */

/* Theme toggle icon: swap between moon (light) and sun (dark) */
body.dark #theme-icon path {
  d: path("M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0z");
}

/* Feature icon tint adjusts for dark surfaces */
body.dark .feature-icon {
  background-color: rgba(4, 141, 43, 0.15);
}

/* Form controls: select dropdowns, textareas keep readability */
body.dark select.form-control,
body.dark textarea.form-control,
body.dark input.form-control {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-color: var(--border-color);
}

body.dark select.form-control option {
  background-color: var(--bg-card);
  color: var(--text-dark);
}

/* Cart badge keeps dark text on accent background */
body.dark .cart-badge {
  color: #000000;
}

/* Quote card pricing text stays readable */
body.dark .quote-card-price {
  color: var(--text-dark);
}

/* Popular badge keeps dark text */
body.dark .popular-badge {
  color: #000000;
}

/* Admin category card icon dark hover */
body.dark .admin-category-card:hover .admin-category-card-icon {
  color: #ffffff;
}

body.dark .admin-category-card:hover .admin-category-card-count {
  color: #ffffff;
}

/* Payment option radio buttons */
body.dark input[type="radio"],
body.dark input[type="checkbox"] {
  accent-color: var(--primary-color);
}

/* Product card "View Details" button dark mode readability */
body.dark .product-btn-view {
  background-color: var(--bg-light);
  border-color: var(--border-color);
  color: var(--text-dark);
}

body.dark .product-btn-view:hover {
  background-color: var(--border-color);
}

/* Quantity buttons in dark mode */
body.dark .qty-btn {
  background-color: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-dark);
}

body.dark .qty-btn:hover {
  background-color: var(--border-color);
}

/* Detail quantity box */
body.dark .detail-qty {
  background-color: var(--bg-card);
  border-color: var(--border-color);
}

/* Specs table readability */
body.dark .specs-table td:first-child {
  color: var(--text-dark);
}

body.dark .specs-table td:last-child {
  color: var(--text-muted);
}

/* Tab buttons in dark mode */
body.dark .tab-btn {
  color: var(--text-muted);
}

body.dark .tab-btn.active {
  color: var(--primary-color);
}

/* Cart remove button stays red */
body.dark .cart-item-remove {
  color: #ff6b60;
}

/* Filter buttons in dark mode */
body.dark .filter-btn {
  background-color: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-dark);
}

body.dark .filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

body.dark .filter-btn.active {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* Search box in dark mode */
body.dark .search-box input {
  background-color: var(--bg-card);
  color: var(--text-dark);
  border-color: var(--border-color);
}

/* Modal content in dark mode */
body.dark .modal-content {
  background-color: var(--bg-card);
  border-color: var(--border-color);
}

body.dark .modal-close-btn {
  color: var(--text-muted);
}

body.dark .modal-close-btn:hover {
  color: var(--text-dark);
}

/* Blog card dark mode */
body.dark .blog-card {
  background-color: var(--bg-card) !important;
  border-color: var(--border-color) !important;
}

/* Financing card dark mode */
body.dark .financing-card {
  background-color: var(--bg-card) !important;
  border-color: var(--border-color) !important;
}

/* Footer stays dark in both modes — no changes needed */

/* Smooth transitions for all theme-toggled elements */
.feature-icon,
.page-header,
.form-control,
.filter-btn,
.qty-btn,
.detail-qty,
.product-btn-view,
.modal-content,
.modal-close-btn,
.search-box input,
.cart-item-remove,
.tab-btn,
.blog-card,
.financing-card {
  transition: background-color var(--transition-normal),
              color var(--transition-normal),
              border-color var(--transition-normal);
}

/* Why Choose DonJed Custom Section (Matching Reference) */
.wcd-section {
  background-color: var(--bg-white);
  padding: 100px 0;
}

.wcd-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.wcd-images {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wcd-img-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.wcd-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wcd-content {
  display: flex;
  flex-direction: column;
}

.wcd-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  display: block;
  letter-spacing: 0.5px;
}

.wcd-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 25px;
  letter-spacing: -0.02em;
}

.wcd-title-light {
  color: var(--text-muted);
  font-weight: 500;
}

.wcd-meta {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.wcd-read-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #c9ff22;
  color: #000000;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 10px 8px 24px;
  border-radius: 40px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.wcd-read-more:hover {
  transform: translateY(-2px);
  color: #000000;
}

.wcd-arrow {
  width: 32px;
  height: 32px;
  background-color: #000000;
  color: #c9ff22;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wcd-arrow svg {
  width: 16px;
  height: 16px;
}

.wcd-customers {
  display: flex;
  align-items: center;
  gap: 15px;
}

.wcd-avatars {
  display: flex;
}

.wcd-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  object-fit: cover;
  margin-left: -12px;
}
.wcd-avatars img:first-child {
  margin-left: 0;
}

.wcd-reviews {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wcd-stars {
  display: flex;
  gap: 2px;
}

.wcd-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--text-dark);
}

.wcd-happy {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.wcd-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.wcd-feature {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease;
}

.wcd-feature:hover {
  transform: translateY(-4px);
}

.wcd-feature-icon {
  width: 32px;
  height: 32px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.wcd-feature-icon svg {
  width: 100%;
  height: 100%;
}

.wcd-feature h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.wcd-feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 992px) {
  .wcd-container {
    grid-template-columns: 1fr;
  }
  .wcd-images {
    order: 2;
  }
  .wcd-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .form-card {
    padding: 20px;
  }
  .wcd-features {
    grid-template-columns: 1fr;
  }
  .wcd-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Additional Mobile Responsiveness Fixes */
@media (max-width: 768px) {
  .form-card {
    padding: 20px;
  }
  
  .hero-badge {
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .hero-badge-icon {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 38px;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-btn-primary, 
  .hero-btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
  }
}

/* Compact Header for Mobile */
@media (max-width: 768px) {
  .form-card {
    padding: 20px;
  }
  /* Keep the fixed header completely steady on mobile so it never jitters while scrolling. */
  header#main-header,
  header#main-header.scrolled {
    top: 10px;
    left: 0;
    right: 0;
    width: 100%;
  }
  
  .logo {
    font-size: 18px;
    gap: 6px;
    white-space: nowrap; /* Prevent line breaks */
  }
  
  .logo svg {
    width: 24px;
    height: 24px;
  }
  
  .nav-actions {
    gap: 4px; /* Tighter spacing for buttons */
  }
  
  .action-btn,
  .menu-toggle {
    width: 34px;
    height: 34px;
  }
  
  .action-btn svg,
  .menu-toggle svg {
    width: 18px;
    height: 18px;
  }
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up.delay-1 { transition-delay: 0.1s; }
.reveal-up.delay-2 { transition-delay: 0.2s; }
.reveal-up.delay-3 { transition-delay: 0.3s; }


/* Hero Translucent Glass Card */
.hero-container {
  position: relative;
}

.hero-glass-card {
  position: relative;
  bottom: auto;
  right: auto;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  margin: 40px auto 0;
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.hero-glass-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 200px;
  flex: none;
  min-height: unset;
  overflow: hidden;
  cursor: pointer;
  background: #0d120e;
}

.hero-glass-video video,
.hero-glass-video img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.hero-glass-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-glass-play-overlay:hover {
  background: rgba(0, 0, 0, 0.4);
}

.hero-glass-play-overlay svg {
  opacity: 0.9;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  width: 32px;
  height: 32px;
}

.hero-glass-body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.hero-glass-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #ffffff;
}

.hero-glass-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.hero-glass-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.hero-glass-btn-primary {
  background: #ffffff;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}

.hero-glass-btn-primary:hover {
  opacity: 0.85;
}

.hero-glass-btn-play {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: inherit;
}

.hero-glass-btn-play:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

/* Hide glass card on mobile, show stacked on tablet */
@media (max-width: 1024px) {
  .hero-glass-card {
    position: relative;
    bottom: auto;
    right: auto;
    max-width: 100%;
    margin-top: 40px;
  }
}

@media (max-width: 640px) {
  .hero-glass-card {
    flex-direction: column;
  }
  .hero-glass-video {
    flex: none;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: unset;
  }
  .hero-glass-body {
    padding: 20px;
  }
}

/* Premium Card Styles Extracted from Index */

      .modern-financing-header { text-align: center; margin-bottom: 50px; }
      .modern-financing-header .subtitle { font-size: 15px; font-weight: 600; color: #4b5563; display: block; margin-bottom: 12px; }
      .modern-financing-header .title { font-size: 42px; font-weight: 800; color: #111827; margin: 0; line-height: 1.2; letter-spacing: -1px; }
      .modern-financing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
      @media (max-width: 991px) { .modern-financing-grid { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 767px) { .modern-financing-grid { grid-template-columns: 1fr; } .modern-financing-header .title { font-size: 32px; } }
      .modern-card { border-radius: 24px; padding: 40px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
      .modern-card.card-image { background: url('assets/images/clean_energy_hero.jpg') center/cover no-repeat; color: white; min-height: 420px; justify-content: space-between; }
      .modern-card.card-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%); z-index: 1; }
      .modern-card.card-image > * { position: relative; z-index: 2; }
      .modern-card.card-light { background: #f3f5f8; color: #111827; min-height: 420px; transition: transform 0.3s ease; }
      .modern-card.card-light:hover { transform: translateY(-5px); }
      .modern-card-icon { width: 48px; height: 48px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
      .modern-card-icon svg { width: 22px; height: 22px; color: #111827; }
      .modern-card-title { font-size: 26px; font-weight: 700; margin-bottom: 16px; line-height: 1.2; letter-spacing: -0.5px; }
      .modern-card-text { font-size: 15px; color: #4b5563; line-height: 1.6; margin-bottom: 20px; }
      .modern-card-action { margin-top: auto; font-weight: 600; color: #111827; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; transition: color 0.2s; }
      .modern-card-action:hover { color: var(--primary-color); }
      .card-image-top-text { font-size: 26px; font-weight: 700; line-height: 1.2; max-width: 90%; }
      .card-image-bottom { display: flex; justify-content: flex-end; align-items: flex-end; }
      .card-image-bottom-text span { display: block; }
      .card-image-bottom-text span:first-child { font-size: 14px; opacity: 0.9; margin-bottom: 4px; }
      .card-image-bottom-text span:last-child { font-size: 28px; font-weight: 700; line-height: 1; }
      .gauge-icon { width: 70px; height: 70px; opacity: 0.9; }

      .gauge-needle {
        transform-origin: 50px 75px;
        animation: dialScale 3s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
      }
      @keyframes dialScale {
        0% { transform: rotate(-70deg); }
        100% { transform: rotate(10deg); }
      }

      
      /* Dark mode support */
      body.dark .modern-financing-header .title { color: #f9fafb; }
      body.dark .modern-financing-header .subtitle { color: #9ca3af; }
      body.dark .modern-card.card-light { background: #1f2937; color: #f9fafb; }
      body.dark .modern-card-title { color: #f9fafb; }
      body.dark .modern-card-text { color: #9ca3af; }
      body.dark .modern-card-icon { background: #374151; }
      body.dark .modern-card-icon svg { color: #f9fafb; }
      body.dark .modern-card-action { color: #f9fafb; }
      body.dark .modern-card-action:hover { color: var(--primary-color); }
    


/* Premium Section CSS Extracted from Index */

      :root {
        --premium-green: #048D2B;
        --premium-green-hover: #037222;
        --premium-green-light: #e6f4ea;
        --premium-border: #E6EAE8;
        --premium-radius: 16px;
        --premium-shadow: 0 1px 2px rgba(0,0,0,.04);
        --premium-shadow-hover: 0 6px 16px rgba(0,0,0,.06);
      }
      .premium-section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 80px 20px;
        background-color: #F7FAF8;
      }
      .premium-section-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 40px;
      }
      .premium-eyebrow {
        color: var(--premium-green);
        font-weight: 700;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        display: block;
        margin-bottom: 8px;
      }
      .premium-title {
        font-size: 36px;
        font-weight: 700;
        letter-spacing: -0.02em;
        color: #111827;
        margin: 0 0 12px 0;
      }
      .premium-subtitle {
        color: #6b7280;
        max-width: 55ch;
        margin: 0;
        font-size: 16px;
        line-height: 1.5;
      }
      .premium-link {
        color: var(--premium-green);
        font-weight: 600;
        text-decoration: none;
        font-size: 15px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: opacity 0.2s;
      }
      .premium-link:hover { opacity: 0.8; }
      .premium-link-mobile { display: none; }
      .premium-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
      }
      .premium-card {
        background: #ffffff;
        border: 1px solid var(--premium-border);
        border-radius: var(--premium-radius);
        box-shadow: var(--premium-shadow);
        padding: 20px;
        display: flex;
        flex-direction: column;
        transition: transform 200ms ease, box-shadow 200ms ease;
        position: relative;
        text-decoration: none;
        cursor: pointer;
        text-align: left;
      }
      .premium-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--premium-shadow-hover);
      }
      .premium-card-img-wrapper {
        position: relative;
        aspect-ratio: 4 / 3;
        border-radius: 12px;
        overflow: hidden;
        background-color: #F4F6F5;
        margin-bottom: 20px;
      }
      .premium-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: var(--pos, center);
        transition: transform 300ms ease;
        filter: saturate(0.95) contrast(1.02);
      }
      .premium-card:hover .premium-card-img {
        transform: scale(1.03);
      }
      .premium-card-img-overlay {
        position: absolute;
        bottom: 0; left: 0; right: 0;
        height: 60%;
        background: linear-gradient(to top, rgba(0,0,0,.06), transparent 40%);
        pointer-events: none;
      }
      .premium-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: var(--premium-green);
        color: white;
        font-size: 12px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 50px;
        z-index: 10;
      }
      .premium-card-cat {
        font-size: 11px;
        color: #3b6b4a;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-weight: 700;
        margin-bottom: 8px;
      }
      .premium-card-title {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        color: #111827;
        margin: 0 0 16px 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 44.8px;
      }
      .premium-stock {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: #4b5563;
        margin-bottom: 16px;
      }
      .premium-stock-dot {
        width: 8px;
        height: 8px;
        background-color: var(--premium-green);
        border-radius: 50%;
      }
      .premium-card-bottom {
        margin-top: auto;
      }
      .premium-price-row {
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin-bottom: 16px;
      }
      .premium-price {
        font-size: 20px;
        font-weight: 700;
        color: #111827;
      }
      .premium-price-old {
        font-size: 14px;
        color: #9ca3af;
        text-decoration: line-through;
      }
      .premium-btn-row {
        display: flex;
        gap: 8px;
      }
      .premium-btn {
        height: 44px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 200ms ease;
        border: none;
        font-family: inherit;
      }
      .premium-btn:focus-visible {
        outline: 2px solid var(--premium-green);
        outline-offset: 2px;
      }
      .premium-btn:active { transform: scale(0.98); }
      .premium-btn-add {
        flex: 6;
        background: var(--premium-green);
        color: white;
      }
      .premium-btn-add:hover { background: var(--premium-green-hover); }
      .premium-btn-details {
        flex: 4;
        background: transparent;
        border: 1px solid var(--premium-border);
        color: #111827;
      }
      .premium-btn-details:hover {
        background: var(--premium-green-light);
        border-color: var(--premium-green-light);
        color: var(--premium-green-hover);
      }
      @media (max-width: 1024px) {
        .premium-grid { grid-template-columns: repeat(2, 1fr); }
      }
      @media (max-width: 640px) {
        .premium-section { padding: 48px 16px; }
        .premium-section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
        .premium-link-desktop { display: none; }
        .premium-link-mobile { display: inline-flex; margin-top: 32px; justify-content: center; width: 100%; }
        .premium-grid {
          display: flex;
          overflow-x: auto;
          scroll-snap-type: x mandatory;
          gap: 16px;
          padding-bottom: 16px;
          margin-right: -16px;
          padding-right: 16px;
          -webkit-overflow-scrolling: touch;
          -ms-overflow-style: none;
          scrollbar-width: none;
        }
        .premium-grid::-webkit-scrollbar { display: none; }
        .premium-grid .premium-card { flex: 0 0 85%; scroll-snap-align: start; }
      }
      @media (prefers-reduced-motion: reduce) {
        .premium-card, .premium-card-img, .premium-btn {
          transition: none !important;
          transform: none !important;
        }
      }
      body.dark .premium-section { background-color: #111827; }
      body.dark .premium-card { background: #1f2937; border-color: #374151; }
      body.dark .premium-title, body.dark .premium-price, body.dark .premium-card-title { color: #f9fafb; }
      body.dark .premium-btn-details { color: #f9fafb; border-color: #4b5563; }
      body.dark .premium-btn-details:hover { background: #374151; color: #f9fafb; border-color: #6b7280; }
    


/* ==========================================================================
   Home Services & Projects Showcase (Matches website_reference/services.png)
   ========================================================================== */
.services-showcase-section {
  padding: 100px 0 90px 0;
  background-color: var(--white, #f0fded);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.services-cluster-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 75px;
}

/* Staggered Top Row */
.services-cluster-top-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto -50px auto;
  position: relative;
  z-index: 2;
}

/* Giant "Services" Title */
.services-cluster-giant-title {
  font-size: clamp(75px, 15vw, 180px);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
  text-align: center;
  user-select: none;
  position: relative;
  z-index: 1;
  font-family: var(--font-display, sans-serif);
}

/* Staggered Bottom Row */
.services-cluster-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
  max-width: 1100px;
  margin: -50px auto 0 auto;
  position: relative;
  z-index: 2;
}

/* Service Card - Translucent Glassmorphism */
.service-cluster-card {
  position: relative;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.service-cluster-card.card-top {
  max-width: 250px;
  width: 100%;
}

.service-cluster-card:hover {
  transform: translateY(-10px) scale(1.025);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 44px rgba(4, 141, 43, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: rgba(4, 141, 43, 0.35);
  z-index: 10;
}

.service-card-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-cluster-card:hover .service-card-thumb {
  transform: scale(1.08);
}

.service-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.service-card-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.service-read-more-btn {
  border: 1px solid #D1D5DB;
  background: rgba(255, 255, 255, 0.85);
  color: #111827;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 18px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  margin-top: auto;
}

.service-cluster-card:hover .service-read-more-btn,
.service-read-more-btn:hover {
  background: var(--primary-color, #048D2B);
  color: #ffffff;
  border-color: var(--primary-color, #048D2B);
  box-shadow: 0 4px 12px rgba(4, 141, 43, 0.25);
}

/* Projects Showcase Grid (Bottom Trio) */
.services-projects-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

.showcase-project-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.showcase-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.showcase-project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.88) 100%);
  z-index: 1;
}

.showcase-project-card > * {
  position: relative;
  z-index: 2;
}

/* Project 1 Badges */
.project-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-pill {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 500;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-pill b {
  color: #111827;
  font-weight: 700;
}

.project-pill svg {
  width: 13px;
  height: 13px;
  stroke: #4b5563;
}

/* Arrow Circle for Cards 2 & 3 */
.project-arrow-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.showcase-project-card:hover .project-arrow-circle {
  transform: scale(1.08) rotate(45deg);
  background: var(--premium-green);
  color: #ffffff;
}

/* Bottom Text */
.project-content-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-card-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.15;
}

.project-card-desc {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px 0;
}

/* Action Button */
.project-start-btn {
  background: #ffffff;
  color: #111827;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.project-start-btn:hover {
  background: #111827;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.project-start-btn svg {
  transition: transform 0.2s;
}

.project-start-btn:hover svg {
  transform: translateX(4px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .services-cluster-top-row {
    margin-bottom: 20px;
    gap: 20px;
  }
  .services-cluster-bottom-row {
    margin-top: 20px;
    gap: 20px;
  }
  .service-cluster-card.card-top {
    max-width: none;
    flex: 1;
  }
  .services-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .form-card {
    padding: 20px;
  }
  .services-showcase-section {
    padding: 60px 0;
  }
  
  .services-cluster-wrap {
    margin-bottom: 50px;
  }

  .services-cluster-giant-title {
    font-size: clamp(54px, 14vw, 84px);
    margin-bottom: 28px;
    order: -1;
  }

  .services-cluster-top-row,
  .services-cluster-bottom-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 0 16px 0;
    width: 100%;
  }

  .service-cluster-card.card-top {
    max-width: 100%;
  }

  .services-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .showcase-project-card {
    min-height: 450px;
    padding: 20px;
  }

  .project-card-title {
    font-size: 21px;
  }
}

/* Dark Mode Support */
body.dark .services-showcase-section {
  background: #111827;
}
body.dark .services-cluster-giant-title {
  color: #f9fafb;
}
body.dark .service-cluster-card {
  background: rgba(31, 41, 55, 0.72);
  border-color: rgba(55, 65, 81, 0.85);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
body.dark .service-cluster-card:hover {
  background: rgba(31, 41, 55, 0.92);
  border-color: rgba(4, 141, 43, 0.5);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45), 0 0 20px rgba(4, 141, 43, 0.15);
}
body.dark .service-card-title {
  color: #f9fafb;
}
body.dark .service-card-desc {
  color: #9ca3af;
}
body.dark .service-read-more-btn {
  background: #111827;
  color: #f9fafb;
  border-color: #374151;
}
body.dark .service-read-more-btn:hover {
  background: #ffffff;
  color: #111827;
  border-color: #ffffff;
}


/* Global Toast Notification */
.global-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 3000;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.global-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .global-toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   Interactive Testimonials Section (Matches website_reference/testimonals.mp4)
   ========================================================================== */
.dj-testimonials-section {
  padding: 110px 0 100px 0;
  background-color: var(--white, #f0fded);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.dj-testimonials-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Header: Split Title and Subtitle */
.dj-testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  margin-bottom: 56px;
}

.dj-testimonials-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin: 0;
  flex: 1;
}

.dj-testimonials-title em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  color: var(--primary-color);
}

.dj-testimonials-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: #71717a;
  max-width: 440px;
  margin: 0;
  font-weight: 400;
}

body.dark .dj-testimonials-desc {
  color: #94a3b8;
}

/* 5-Card Grid */
.dj-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

/* Card Container */
.dj-testimonials-card {
  position: relative;
  background-color: #f4f4f4;
  border-radius: 22px;
  padding: 28px 20px 24px 20px;
  min-height: 375px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.025);
  box-sizing: border-box;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease;
  will-change: transform, box-shadow;
  --mouse-x: 50%;
  --mouse-y: 85%;
  cursor: pointer;
}

body.dark .dj-testimonials-card {
  background-color: #172019;
  border-color: rgba(255, 255, 255, 0.05);
}

/* Smooth Lift on Hover */
.dj-testimonials-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 44px -14px rgba(34, 197, 94, 0.35),
              0 8px 20px -6px rgba(0, 0, 0, 0.05);
}

/* Glowing Radiant Light Green Aura Bloom */
.dj-testimonial-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  background: 
    radial-gradient(
      circle 260px at var(--mouse-x, 50%) var(--mouse-y, 85%),
      rgba(34, 197, 94, 0.9) 0%,
      rgba(74, 222, 128, 0.75) 32%,
      rgba(167, 243, 208, 0.48) 60%,
      rgba(244, 244, 244, 0) 85%
    ),
    linear-gradient(
      to top,
      rgba(34, 197, 94, 0.78) 0%,
      rgba(74, 222, 128, 0.45) 28%,
      rgba(187, 247, 208, 0.16) 58%,
      transparent 80%
    );
  z-index: 1;
}

.dj-testimonials-card:hover .dj-testimonial-glow {
  opacity: 1;
}

/* Card Body Content */
.dj-card-body {
  position: relative;
  z-index: 2;
}

.dj-card-quote-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin: 0 0 12px 0;
  letter-spacing: -0.015em;
}

.dj-card-quote-text {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
  color: #71717a;
  margin: 0;
  font-weight: 400;
}

body.dark .dj-card-quote-text {
  color: #94a3b8;
}

/* Card Author Info */
.dj-card-author {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.dj-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.dj-author-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dj-author-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dark .dj-author-name {
  color: #f8fafc;
}

.dj-author-role {
  font-family: var(--font-body);
  font-size: 11px;
  color: #71717a;
  margin: 2px 0 0 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dark .dj-author-role {
  color: #94a3b8;
}

/* Responsiveness */
@media (max-width: 1180px) {
  .dj-testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 10px 4px 24px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dj-testimonials-grid::-webkit-scrollbar {
    display: none;
  }
  .dj-testimonials-card {
    flex: 0 0 250px;
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .form-card {
    padding: 20px;
  }
  .dj-testimonials-section {
    padding: 70px 0;
  }
  .dj-testimonials-header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
  }
  .dj-testimonials-title {
    font-size: 28px;
  }
  .dj-testimonials-desc {
    font-size: 13px;
  }
  .dj-testimonials-card {
    flex: 0 0 240px;
    min-height: 350px;
  }
}
/* Exact Mobile Menu Styles */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 0 !important;
    border: none !important;
    flex-direction: column;
    align-items: center;
    padding: 0 !important;
    gap: 0 !important;
    box-shadow: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) !important;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease !important;
    z-index: 1001 !important;
    overflow-y: auto;
  }

  .nav-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    left: 0 !important; /* override */
  }

  .mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding: max(24px, env(safe-area-inset-top)) 24px 24px 24px;
    position: absolute;
    top: 0;
    left: 0;
  }

  .mobile-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e2820;
  }
  
  .mobile-close-btn svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #1e2820;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    gap: 28px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    margin-top: 0;
  }

  .mobile-nav-links .nav-link {
    font-size: 18px !important;
    letter-spacing: 0.5px;
    color: #1e2820 !important;
    font-weight: 600;
    text-transform: none;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: auto;
  }
  
  .mobile-socials {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    justify-content: center;
  }
  
  .mobile-socials a {
    color: #1e2820;
    display: flex;
    align-items: center;
    justify-content: center;
  }



}
@media (min-width: 901px) {
  .mobile-socials {
    display: none !important;
  }
  .mobile-menu-header, .mobile-menu-footer {
    display: none !important;
  }
  .mobile-nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    margin-top: 0;
  }
  .mobile-nav-links .nav-link {
    font-size: 15.5px !important;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
  }
}

    .giant-hero {
      position: relative;
      min-height: 420px;
      height: 420px;
      width: 100%;
      background: 
        linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.75) 100%),
        url('../images/hero_bg.png') no-repeat center 35% / cover;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-sizing: border-box;
      padding-top: 70px;
    }
    
    .giant-hero-text {
      font-size: clamp(60px, 15vw, 320px);
      font-weight: 800;
      line-height: 0.72;
      color: #ffffff;
      margin: 0;
      transform: none;
      font-family: var(--font-display, sans-serif);
      letter-spacing: -0.04em;
      white-space: nowrap;
      user-select: none;
      text-align: center;
      text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
    }

@media (min-width: 769px) {
  .affiliate-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* ========================================================
   Admin Dashboard Responsive Styles (All Displays & Mobile)
   ======================================================== */
.tab-nav {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.tab-nav::-webkit-scrollbar {
  height: 4px;
}

.tab-nav::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.tab-btn {
  flex-shrink: 0;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .admin-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-header > div:first-child {
    width: 100%;
  }

  .admin-actions-bar {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .admin-actions-bar .btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
  }

  .admin-category-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }

  .admin-category-card {
    padding: 20px 15px;
  }

  .admin-table th,
  .admin-table td {
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Mobile card-style tables */
  .admin-table {
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .admin-table thead {
    display: none;
  }
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }
  .admin-table tbody {
    padding: 8px 0;
  }
  .admin-table tr {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
  }
  .admin-table td {
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    white-space: normal;
  }
  .admin-table td:last-child {
    border-bottom: none;
    padding-top: 12px;
  }
  .admin-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
  }
  .admin-table .admin-product-img {
    margin: 0 auto 8px;
    width: 60px;
    height: 60px;
  }
  .admin-table .admin-actions-bar {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Comfortable touch targets on phones */
  .action-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
  }

  .admin-table .action-icon-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .modal-close-btn {
    min-width: 44px;
    min-height: 44px;
    font-size: 26px;
    line-height: 1;
    top: 6px;
    right: 6px;
  }

  .admin-session-bar .btn {
    min-height: 40px;
  }

  .modal-content {
    padding: 22px 18px;
    margin: 15px;
    width: calc(100% - 30px);
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .admin-category-grid {
    grid-template-columns: 1fr;
  }

  .admin-actions-bar {
    flex-direction: column;
  }

  .admin-actions-bar .btn {
    width: 100%;
  }

  /* Table row actions stay horizontal so quick actions are one tap away */
  .admin-table .admin-actions-bar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .admin-table .admin-actions-bar .btn {
    width: auto;
    flex: 0 1 auto;
  }

  .tab-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Bulk Selection & Confirmation Dialog Enhancements */
#admin-bulk-actions-bar {
  animation: fadeInDown 0.25s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-table tbody tr.row-selected {
  background-color: rgba(4, 141, 43, 0.05) !important;
}

body.dark .admin-table tbody tr.row-selected {
  background-color: rgba(4, 141, 43, 0.15) !important;
}

body.dark #admin-bulk-actions-bar {
  background: rgba(4, 141, 43, 0.15) !important;
  border-color: rgba(4, 141, 43, 0.35) !important;
}

#admin-confirm-modal .modal-content {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
}

/* VSL videos */
.vsl-video-block {
  width: 100%;
}

.vsl-instalment-block {
  max-width: 850px;
  margin: 35px auto 0;
}

.vsl-objections-block {
  margin: 35px auto 0 auto;
  max-width: 760px;
  width: 100%;
}

.vsl-objections-block .vsl-card-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vsl-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.vsl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(4, 141, 43, 0.35);
}

.vsl-card:focus-visible {
  outline: 2px solid var(--primary-color, #048D2B);
  outline-offset: 2px;
}

.vsl-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d120e;
}

.vsl-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.vsl-card:hover .vsl-card-thumb {
  transform: scale(1.04);
}

.vsl-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  transition: background-color 0.3s ease;
}

.vsl-card:hover .vsl-play-overlay {
  background: rgba(0, 0, 0, 0.16);
}

.vsl-play-button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary-color, #048D2B);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(4, 141, 43, 0.45);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

.vsl-play-button svg {
  margin-left: 3px;
}

.vsl-card:hover .vsl-play-button {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(4, 141, 43, 0.65);
}

.vsl-card-body {
  padding: 18px 24px 22px;
  background: var(--bg-light);
}

.vsl-card-label {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color, #048D2B);
  margin-bottom: 6px;
}

.vsl-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark, #1e2820);
  margin: 0;
  line-height: 1.35;
}

/* VSL Video Modal */
.vsl-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.22, 1, 0.36, 1), visibility 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vsl-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vsl-modal-dialog {
  position: relative;
  width: 92vw;
  max-width: 960px;
  background: #000000;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: scale(0.96);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vsl-modal-backdrop.is-open .vsl-modal-dialog {
  transform: scale(1);
}

.vsl-modal-close-btn {
  position: absolute;
  top: -52px;
  right: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.vsl-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.06);
}

.vsl-modal-close-btn:focus-visible {
  outline: 2px solid var(--primary-color, #048D2B);
  outline-offset: 2px;
}

.vsl-modal-iframe-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
}

.vsl-modal-iframe-container iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .vsl-modal-dialog {
    width: calc(100vw - 24px);
    max-width: 100%;
    border-radius: 16px;
  }
  .vsl-modal-iframe-container {
    border-radius: 16px;
  }
  .vsl-modal-close-btn {
    top: -48px;
    right: 0;
  }
}

@media (max-height: 560px) {
  .vsl-modal-close-btn {
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vsl-modal-backdrop,
  .vsl-modal-dialog,
  .vsl-card,
  .vsl-card-thumb,
  .vsl-play-button {
    transition: none !important;
    transform: none !important;
  }
}





/* Audience switcher */
.hero-audience-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  align-self: center;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 22px;
}
.audience-tab {
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: color 250ms ease;
}
.audience-tab.is-active {
  color: #1a1a1a;
}
.audience-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 4px);
  background: #ffffff;
  border-radius: var(--border-radius-pill);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  backface-visibility: hidden;
  z-index: 1;
}
.hero-audience-switcher[data-active="commercial"] .audience-indicator {
  transform: translate3d(100%, 0, 0);
}
.hero-crossfade {
  transition: opacity 250ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .audience-indicator, .audience-tab, .hero-crossfade { transition: none; }
}

@media (max-width: 768px) {
  .hero-audience-switcher {
    margin-top: 80px;
  }
}

@media (max-width: 768px) {
  .blog-listing-section.section-bg-white {
    padding-top: 32px !important;
  }
}
