/**
 * ============================================================================
 * HERBAL VALLEY PRODUCTS (PALAKKAYAM) LLP
 * STANDARDIZED MASTER FOOTER STYLESHEET
 * 
 * 100% Manrope Typography • One Master Component Architecture
 * Standard Deep Forest-Green (#102F2C) & Herbal Valley Rich Purple Theme (#48136B)
 * ============================================================================
 */

/* ----------------------------------------------------------------------------
   01. MASTER FOOTER CONTAINER & THEME TOKENS
   ---------------------------------------------------------------------------- */
.hv-master-footer {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background-color: #102F2C !important;
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 80px 0 32px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
  line-height: 1.6 !important;
}

/* Herbal Valley Dedicated Page Theme: Rich Purple (#48136B), Secondary (#70249A), Accent (#D5A9E8) */
.hv-master-footer.theme-purple {
  background-color: #48136B !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #E9DDF1 !important;
}

.hv-master-footer.theme-purple .hv-footer-brand-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  background: #FFFFFF !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  margin-bottom: 20px !important;
}

.hv-master-footer.theme-purple .hv-footer-brand-logo-img {
  height: 40px !important;
  width: auto !important;
}

/* Mineral Mist Dedicated Page Theme: Dark Navy (#123B48), Primary Deep Teal (#006B78), Secondary Cyan (#00AFC0), Light Aqua (#DDF5F6) */
.hv-master-footer.theme-teal {
  background-color: #123B48 !important;
  border-top: 1px solid rgba(0, 175, 192, 0.2) !important;
  color: #DDF5F6 !important;
}

.hv-master-footer.theme-teal .hv-footer-brand-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  background: #FFFFFF !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  margin-bottom: 20px !important;
}

.hv-master-footer.theme-teal .hv-footer-brand-logo-img {
  height: 40px !important;
  width: auto !important;
}

.hv-master-footer.theme-teal .hv-footer-col-title {
  color: #00AFC0 !important;
}

.hv-master-footer.theme-teal .hv-footer-link {
  color: #DDF5F6 !important;
}

.hv-master-footer.theme-teal .hv-footer-link:hover {
  color: #00AFC0 !important;
  transform: translateX(3px) !important;
}

.hv-master-footer.theme-teal .hv-footer-contact-label {
  color: #00AFC0 !important;
}

.hv-master-footer.theme-teal .hv-footer-contact-link {
  color: #FFFFFF !important;
}

.hv-master-footer.theme-teal .hv-footer-contact-link:hover {
  color: #00AFC0 !important;
}

.hv-master-footer.theme-teal .hv-footer-contact-cta-btn {
  border-color: rgba(0, 175, 192, 0.45) !important;
  background: rgba(0, 175, 192, 0.15) !important;
  color: #FFFFFF !important;
}

.hv-master-footer.theme-teal .hv-footer-contact-cta-btn:hover {
  background: #006B78 !important;
  border-color: #00AFC0 !important;
  color: #FFFFFF !important;
}

.hv-master-footer.theme-teal .hv-footer-bottom-bar {
  border-top-color: rgba(0, 175, 192, 0.2) !important;
  color: #DDF5F6 !important;
}

.hv-master-footer.theme-teal .hv-footer-legal-link {
  color: #DDF5F6 !important;
}

.hv-master-footer.theme-teal .hv-footer-legal-link:hover {
  color: #00AFC0 !important;
}

/* Ensure all child elements use Manrope */
.hv-master-footer *,
.hv-master-footer *::before,
.hv-master-footer *::after {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  box-sizing: border-box !important;
}

/* ----------------------------------------------------------------------------
   02. LAYOUT GRID SYSTEM
   ---------------------------------------------------------------------------- */
.hv-master-footer .hv-footer-container {
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(20px, 4vw, 48px) !important;
  padding-right: clamp(20px, 4vw, 48px) !important;
}

.hv-master-footer .hv-footer-grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr !important;
  gap: clamp(32px, 4vw, 56px) !important;
  margin-bottom: 60px !important;
}

/* ----------------------------------------------------------------------------
   03. COLUMN 01 – COMPANY PROFILE
   ---------------------------------------------------------------------------- */
.hv-master-footer .hv-footer-brand-logo-link {
  display: inline-block !important;
  margin-bottom: 16px !important;
  text-decoration: none !important;
  border: none !important;
}

.hv-master-footer .hv-footer-brand-logo-img {
  height: 48px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  display: block !important;
  border: none !important;
}

.hv-master-footer .hv-footer-company-name {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 8px !important;
}

.hv-master-footer.theme-purple .hv-footer-company-name {
  color: #FFFFFF !important;
}

.hv-master-footer .hv-footer-desc {
  font-size: 0.88rem !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  margin-bottom: 18px !important;
  max-width: 360px !important;
}

.hv-master-footer.theme-purple .hv-footer-desc {
  color: rgba(255, 255, 255, 0.75) !important;
}

.hv-master-footer .hv-footer-statutory-pill {
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  line-height: 1.5 !important;
}

.hv-master-footer.theme-purple .hv-footer-statutory-pill {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* ----------------------------------------------------------------------------
   04. COLUMNS 02 & 03 – NAVIGATION & BRAND LINKS
   ---------------------------------------------------------------------------- */
.hv-master-footer .hv-footer-col-title {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: #FFFFFF !important;
  margin-bottom: 22px !important;
}

.hv-master-footer.theme-purple .hv-footer-col-title {
  color: #D5A9E8 !important;
}

.hv-master-footer .hv-footer-links-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.hv-master-footer .hv-footer-link {
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.68) !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.hv-master-footer .hv-footer-link:hover {
  color: #2DD4BF !important;
  transform: translateX(3px) !important;
}

.hv-master-footer.theme-purple .hv-footer-link {
  color: #E9DDF1 !important;
}

.hv-master-footer.theme-purple .hv-footer-link:hover {
  color: #D5A9E8 !important;
  transform: translateX(3px) !important;
}

/* ----------------------------------------------------------------------------
   05. COLUMN 04 – CONTACT & VERIFIED COMPLIANCE
   ---------------------------------------------------------------------------- */
.hv-master-footer .hv-footer-contact-block {
  margin-bottom: 16px !important;
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
}

.hv-master-footer .hv-footer-contact-label {
  display: block !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: #2DD4BF !important;
  margin-bottom: 4px !important;
}

.hv-master-footer.theme-purple .hv-footer-contact-label {
  color: #D5A9E8 !important;
}

.hv-master-footer .hv-footer-contact-link {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.hv-master-footer .hv-footer-contact-link:hover {
  color: #2DD4BF !important;
  text-decoration: underline !important;
}

.hv-master-footer.theme-purple .hv-footer-contact-link {
  color: #FFFFFF !important;
}

.hv-master-footer.theme-purple .hv-footer-contact-link:hover {
  color: #D5A9E8 !important;
}

.hv-master-footer .hv-footer-contact-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  margin-top: 8px !important;
  transition: all 0.25s ease !important;
}

.hv-master-footer .hv-footer-contact-cta-btn:hover {
  background: #2DD4BF !important;
  border-color: #2DD4BF !important;
  color: #102F2C !important;
  transform: translateY(-2px) !important;
}

.hv-master-footer.theme-purple .hv-footer-contact-cta-btn {
  border-color: rgba(213, 169, 232, 0.45) !important;
  background: rgba(213, 169, 232, 0.15) !important;
  color: #FFFFFF !important;
}

.hv-master-footer.theme-purple .hv-footer-contact-cta-btn:hover {
  background: #70249A !important;
  border-color: #D5A9E8 !important;
  color: #FFFFFF !important;
}

/* ----------------------------------------------------------------------------
   06. BOTTOM BAR (Copyright & Governance Links)
   ---------------------------------------------------------------------------- */
.hv-master-footer .hv-footer-bottom-bar {
  padding-top: 32px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.hv-master-footer.theme-purple .hv-footer-bottom-bar {
  border-top-color: rgba(255, 255, 255, 0.16) !important;
  color: #E9DDF1 !important;
}

.hv-master-footer .hv-footer-legal-links {
  display: flex !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}

.hv-master-footer .hv-footer-legal-link {
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.hv-master-footer .hv-footer-legal-link:hover {
  color: #2DD4BF !important;
}

.hv-master-footer.theme-purple .hv-footer-legal-link {
  color: #E9DDF1 !important;
}

.hv-master-footer.theme-purple .hv-footer-legal-link:hover {
  color: #D5A9E8 !important;
}
}

/* ----------------------------------------------------------------------------
   07. RESPONSIVE BREAKPOINTS (Tablet & Mobile)
   ---------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hv-master-footer .hv-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
  }
}

@media (max-width: 640px) {
  .hv-master-footer {
    padding: 50px 0 28px 0 !important;
  }

  .hv-master-footer .hv-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .hv-master-footer .hv-footer-link {
    padding: 6px 0 !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .hv-master-footer .hv-footer-contact-item {
    gap: 12px !important;
  }

  .hv-master-footer .hv-footer-contact-link {
    padding: 4px 0 !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .hv-master-footer .hv-footer-contact-cta-btn {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 20px !important;
  }

  .hv-master-footer .hv-footer-bottom-bar {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .hv-master-footer .hv-footer-legal-links {
    justify-content: center !important;
    gap: 16px !important;
  }

  .hv-master-footer .hv-footer-legal-link {
    padding: 8px 4px !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}
