/* ==========================================================================
   Deepa Kirana Store - Premium stylesheet
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Custom Variables */
:root {
  /* Color Palette */
  --primary-color: #4A6B5D;       /* Premium Muted Sage Green */
  --primary-light: #5B7F70;       /* Lighter Sage */
  --primary-glow: rgba(74, 107, 93, 0.15);
  --primary-super-light: #F2F6F4; /* Ultra-soft sage cream */
  
  --accent-color: #E6A129;        /* Warm Amber/Gold */
  --accent-hover: #C6851B;        /* Darker Amber */
  --accent-glow: rgba(230, 161, 41, 0.25);
  
  --bg-main: #F7FAF9;             /* Fresh sage canvas */
  --bg-card: #FFFFFF;             /* Pure white for cards */
  --bg-footer: #1A2822;           /* Very dark desaturated forest green */
  
  --text-main: #1C2E27;           /* Deep slate sage */
  --text-muted: #5E756C;          /* Muted green-gray text */
  --text-light: #EEF5F2;          /* Off-white text */
  
  --white: #FFFFFF;
  --success: #25D366;             /* WhatsApp Green / Success */
  --error: #E74C3C;               /* Red */
  
  /* Gradients System (Premium additions) */
  --primary-gradient: linear-gradient(135deg, #375246 0%, #5E8273 100%);
  --primary-gradient-hover: linear-gradient(135deg, #426153 0%, #6E9484 100%);
  --accent-gradient: linear-gradient(135deg, #E6A129 0%, #B77611 100%);
  --accent-gradient-hover: linear-gradient(135deg, #FFB636 0%, #D0891A 100%);
  --bg-mesh-gradient: radial-gradient(at 0% 0%, rgba(242, 246, 244, 0.8) 0px, transparent 50%),
                      radial-gradient(at 100% 0%, rgba(230, 161, 41, 0.05) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(74, 107, 93, 0.03) 0px, transparent 50%),
                      #F7FAF9;
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(74, 107, 93, 0.08);
  --glass-blur: blur(12px);
  
  /* Box Shadows */
  --shadow-sm: 0 2px 8px rgba(74, 107, 93, 0.04);
  --shadow-md: 0 10px 30px rgba(74, 107, 93, 0.06);
  --shadow-lg: 0 20px 50px rgba(74, 107, 93, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Header Height */
  --header-height: 80px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-mesh-gradient);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-color);
}

p {
  color: var(--text-muted);
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Selection */
::selection {
  background-color: var(--accent-color);
  color: var(--white);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* ==========================================================================
   Header & Navbar (Glassmorphic)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  background: rgba(55, 82, 70, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-logo {
  color: var(--white);
}

.header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--accent-color);
}

.header.scrolled .nav-link.active::after {
  background: var(--accent-color);
}

.header.scrolled .menu-toggle span {
  background-color: var(--white);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo span {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color);
}

/* Call-to-action in nav */
.nav-cta {
  background-color: var(--accent-color);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px var(--accent-glow);
  transition: all var(--transition-fast) !important;
}

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

.nav-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--accent-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: 0;
    overflow: hidden;
    flex-direction: column;
    background: var(--bg-card);
    gap: 0;
    box-shadow: var(--shadow-lg);
    transition: height var(--transition-normal);
    border-bottom: 1px solid var(--primary-super-light);
  }
  
  .header.scrolled .nav-menu {
    top: 70px;
    background: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-menu.open {
    height: calc(100vh - var(--header-height));
    padding: 30px 0;
  }
  
  .header.scrolled .nav-menu.open {
    height: calc(100vh - 70px);
  }
  
  .nav-item {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
  }
  
  .nav-cta {
    display: inline-block;
    margin-top: 16px;
    width: auto;
  }
  
  /* Animated Hamburger Close */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ==========================================================================
   Page Navigation (SPA Transition Views)
   ========================================================================== */
.view-container {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  position: relative;
}

.view {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.view.active {
  display: block;
  animation: viewTransition 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes viewTransition {
  0% {
    display: block;
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Buttons UI
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-secondary {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-secondary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-gradient);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--success);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-call {
  background-color: #3498db;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(52, 152, 219, 0.25);
}

.btn-call:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 152, 219, 0.35);
}

/* ==========================================================================
   Hero Section Styling
   ========================================================================== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background-image: linear-gradient(135deg, rgba(55, 82, 70, 0.95) 0%, rgba(91, 127, 112, 0.6) 100%), url('assets/hero_banner.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-content {
  max-width: 650px;
  animation: slideUpFade 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.hero-tag {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content h1 span {
  color: var(--accent-color);
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 100px 0;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust / Stats Section
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 30px 20px;
  text-align: center;
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-num {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-num span {
  color: var(--accent-color);
}

.stat-label {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
  }
}

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

/* ==========================================================================
   Wholesale & Retail Split Services
   ========================================================================== */
.split-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(11, 60, 44, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-color);
  opacity: 0.8;
}

.service-card.retail::before {
  background: var(--accent-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  background-color: var(--primary-super-light);
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.service-card.retail .service-icon {
  background-color: rgba(217, 155, 38, 0.1);
  color: var(--accent-color);
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-card p {
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.service-features {
  margin-bottom: 36px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}

.service-feature-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.service-card.retail .service-feature-item svg {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .split-services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 30px;
  }
}

/* ==========================================================================
   Product Categories
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  position: relative;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(55, 82, 70, 0.95) 15%, rgba(91, 127, 112, 0.2) 80%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  transition: background var(--transition-normal);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(55, 82, 70, 0.98) 25%, rgba(91, 127, 112, 0.4) 80%);
}

.category-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.category-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Customer Trust (Testimonials)
   ========================================================================== */
.testimonials-section {
  background-color: var(--primary-super-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.rating {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 24px;
  color: var(--text-main);
  font-size: 1.05rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-headings);
  font-size: 1.2rem;
}

.user-name {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1rem;
}

.user-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CTA Section (Banner)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(217, 155, 38, 0.15) 2px, transparent 2px);
  background-size: 24px 24px;
  opacity: 0.3;
  z-index: -1;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 50px 24px;
  }
  .cta-banner h2 {
    font-size: 2rem;
  }
  .cta-banner p {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--bg-footer);
  color: var(--text-light);
  padding: 80px 0 30px;
  border-top: 5px solid var(--accent-color);
}

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

.footer-col h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.footer-logo {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 20px;
  display: block;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-about-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.contact-info-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-list svg {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 180px;
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   About Page Specific Styling
   ========================================================================== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.about-feature-box {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
}

.about-feature-box h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.about-image-bg {
  position: absolute;
  top: 30px;
  right: -30px;
  width: 100%;
  height: 100%;
  background-color: var(--primary-super-light);
  border: 2px dashed var(--primary-color);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  text-align: center;
}

.experience-badge .num {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .experience-badge {
    left: 20px;
    bottom: -20px;
  }
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-card {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid transparent;
  transition: all var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--accent-color);
}

.value-icon {
  background-color: var(--primary-super-light);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

@media (max-width: 992px) {
  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .core-values-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Wholesale Supply Page Styling
   ========================================================================== */
.wholesale-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  background-image: linear-gradient(135deg, rgba(55, 82, 70, 0.95) 40%, rgba(91, 127, 112, 0.55) 100%), url('assets/wholesale_banner.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
}

.wholesale-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 16px;
}

.wholesale-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-color);
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  color: var(--accent-color);
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.benefit-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

@media (max-width: 992px) {
  .wholesale-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.wholesale-form-section {
  background-color: var(--primary-super-light);
}

.form-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.form-wrapper {
  background-color: var(--bg-card);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-wrapper h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-wrapper p {
  margin-bottom: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary-super-light);
  background-color: var(--bg-main);
  transition: all var(--transition-fast);
  color: var(--text-main);
}

.form-input:focus {
  border-color: var(--accent-color);
  background-color: var(--bg-card);
  box-shadow: var(--shadow-inset);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3C2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px;
  padding-right: 48px;
}

.wholesale-contacts-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-contact-card {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.sidebar-contact-card h4 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.sidebar-contact-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.sidebar-contact-card .phone-num {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

@media (max-width: 992px) {
  .form-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .form-wrapper {
    padding: 30px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* ==========================================================================
   Retail Services Page Styling
   ========================================================================== */
.retail-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  background-image: linear-gradient(135deg, rgba(55, 82, 70, 0.95) 40%, rgba(91, 127, 112, 0.55) 100%), url('assets/retail_banner.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
}

.retail-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 16px;
}

.delivery-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.delivery-details h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.delivery-steps {
  margin-top: 30px;
}

.delivery-step {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.step-num {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-full);
  background-color: var(--accent-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.step-info h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

@media (max-width: 992px) {
  .delivery-features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Products Page Specific Styling
   ========================================================================== */
.products-search-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input-wrapper svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
}

.search-input-wrapper input {
  width: 100%;
  padding: 16px 20px 16px 54px;
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.search-input-wrapper input:focus {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

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

.filter-tab {
  padding: 12px 24px;
  background-color: var(--bg-card);
  color: var(--primary-color);
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  user-select: none;
}

.filter-tab:hover {
  background-color: var(--primary-super-light);
  color: var(--primary-color);
}

.filter-tab.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 60, 44, 0.05);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.product-img-holder {
  height: 200px;
  position: relative;
  background-color: var(--primary-super-light);
  overflow: hidden;
}

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

.product-card:hover .product-img-holder img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.product-badge.wholesale-only {
  background-color: var(--primary-color);
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.product-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--primary-super-light);
  padding-top: 16px;
}

.prices-wrapper {
  display: flex;
  flex-direction: column;
}

.retail-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
}

.wholesale-indicator {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
}

.product-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-btn:hover {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Gallery Page Styling
   ========================================================================== */
.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 60, 44, 0.85);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  transition: opacity var(--transition-normal);
  padding: 20px;
  text-align: center;
}

.gallery-item-overlay h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
  transform: translateY(15px);
  transition: transform var(--transition-normal);
}

.gallery-item-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transform: translateY(15px);
  transition: transform var(--transition-normal) 0.1s;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

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

.gallery-item:hover .gallery-item-overlay h4,
.gallery-item:hover .gallery-item-overlay p {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  padding: 40px;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.4s forwards;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
}

.lightbox-content img {
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: var(--white);
  text-align: center;
  margin-top: 15px;
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: rgba(255,255,255,0.1);
  transition: background-color var(--transition-fast);
}

.lightbox-close:hover {
  background-color: var(--accent-color);
}

/* ==========================================================================
   Contact Page Styling
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11, 60, 44, 0.05);
  display: flex;
  gap: 20px;
  transition: transform var(--transition-fast);
}

.contact-card-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-md);
  background-color: var(--primary-super-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card-info h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.contact-card-info p {
  font-size: 0.95rem;
}

.contact-card-info a {
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 10px;
  display: inline-block;
}

.contact-card-info a:hover {
  color: var(--accent-color);
}

.map-embed-wrapper {
  margin-top: 40px;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Modals & Inquiry Cart Float
   ========================================================================== */
.success-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 60, 44, 0.4);
  backdrop-filter: var(--glass-blur);
  z-index: 3000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.success-modal.active {
  display: flex;
  animation: fadeIn 0.4s forwards;
}

.success-card {
  background-color: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 450px;
  width: 90%;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.success-modal.active .success-card {
  transform: scale(1);
}

.success-icon-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background-color: var(--primary-super-light);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 24px;
}

.success-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-card p {
  margin-bottom: 30px;
}

/* Inquiry Floating Notification Badge */
.cart-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 900;
  cursor: pointer;
  transition: all var(--transition-fast);
  transform: translateY(100px);
  opacity: 0;
  border: 2px solid var(--glass-border);
}

.cart-float.active {
  transform: translateY(0);
  opacity: 1;
}

.cart-float:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.cart-count {
  background-color: var(--white);
  color: var(--primary-color);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ==========================================================================
   Animations Base Library
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation classes for Observer */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Dark Mode & Theme Toggle Styles
   ========================================================================== */
body.dark-theme {
  --primary-color: #7AA292;       /* Muted glowing sage */
  --primary-light: #8EB7A6;       /* Lighter sage glow */
  --primary-glow: rgba(122, 162, 146, 0.2);
  --primary-super-light: #16241F; /* Sage highlight */
  
  --accent-color: #F3B03D;        /* Warm glowing gold */
  --accent-hover: #FFC35E;        /* Lighter gold hover */
  --accent-glow: rgba(243, 176, 61, 0.3);
  
  --bg-main: #0B120F;
  --bg-card: #121F1A;
  --bg-footer: #080E0C;
  
  --text-main: #EEF5F2;
  --text-muted: #849C92;
  --text-light: #EEF5F2;
  
  --glass-bg: rgba(18, 31, 26, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.4);

  --primary-gradient: linear-gradient(135deg, #4A6B5D 0%, #7AA292 100%);
  --primary-gradient-hover: linear-gradient(135deg, #5B7F70 0%, #8EB7A6 100%);
  --accent-gradient: linear-gradient(135deg, #F3B03D 0%, #C88615 100%);
  --accent-gradient-hover: linear-gradient(135deg, #FFC35E 0%, #DC971A 100%);
  
  --bg-mesh-gradient: radial-gradient(at 0% 0%, rgba(122, 162, 146, 0.15) 0px, transparent 50%),
                      radial-gradient(at 100% 0%, rgba(243, 176, 61, 0.08) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(22, 36, 31, 0.25) 0px, transparent 50%),
                      #0B120F;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all var(--transition-fast);
  margin-left: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-card);
  z-index: 1010;
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  background-color: var(--primary-super-light);
  color: var(--accent-color);
}

.theme-toggle svg {
  transition: transform var(--transition-fast);
}

/* In light mode (default), show moon icon, hide sun */
.theme-toggle .sun-icon {
  display: none;
}
.theme-toggle .moon-icon {
  display: block;
}

/* In dark mode, show sun icon, hide moon */
body.dark-theme .theme-toggle .sun-icon {
  display: block;
  color: var(--accent-color);
}
body.dark-theme .theme-toggle .moon-icon {
  display: none;
}

/* Make sure the header scroll styling behaves correctly with theme toggle */
.header.scrolled .theme-toggle {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.header.scrolled .theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--accent-color);
}

/* In dark mode, tweak text inside cards or sections if needed */
body.dark-theme .service-card {
  border: 1px solid rgba(28, 175, 134, 0.1);
}
body.dark-theme .stat-card, 
body.dark-theme .value-card, 
body.dark-theme .testimonial-card,
body.dark-theme .about-feature-box {
  background-color: var(--bg-card);
  border: 1px solid rgba(28, 175, 134, 0.05);
}
body.dark-theme .about-image-bg {
  background: linear-gradient(135deg, rgba(28, 175, 134, 0.1) 0%, rgba(243, 176, 61, 0.05) 100%);
}
body.dark-theme .contact-card-box {
  background-color: var(--bg-card);
  border: 1px solid rgba(28, 175, 134, 0.05);
}

/* ==========================================================================
   3D Parallax & Floating Elements
   ========================================================================== */

/* 3D Perspective & Transforms Parent */
.tilt-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform var(--transition-fast) cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow var(--transition-fast) ease;
}

/* 3D Child element floats */
.float-3d {
  transform: translateZ(30px);
  transition: transform var(--transition-fast) ease;
}

/* Specific TranslateZ offsets for depth hierarchy */
.tilt-3d h3.float-3d {
  transform: translateZ(40px);
}
.tilt-3d p.float-3d {
  transform: translateZ(25px);
}
.tilt-3d .product-img-3d.float-3d {
  transform: translateZ(65px);
}
.tilt-3d .card-badge-3d.float-3d {
  transform: translateZ(45px);
}
.tilt-3d .btn-3d-action.float-3d {
  transform: translateZ(35px);
}

/* Hero 3D Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

/* Premium Glassmorphic 3D Card */
.floating-3d-card {
  width: 320px;
  height: 420px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  animation: floatAnimation 6s ease-in-out infinite;
}

/* Floating Animation */
@keyframes floatAnimation {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.card-content-3d {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  transform-style: preserve-3d;
}

/* Glare overlay */
.glass-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.1s ease;
}

.product-img-3d {
  width: 170px;
  height: auto;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.35));
  margin-bottom: 24px;
}

.card-badge-3d {
  position: absolute;
  top: 25px;
  right: 25px;
  background: var(--accent-gradient);
  color: var(--white);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(230, 161, 41, 0.3);
}

.floating-3d-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 6px;
  font-weight: 800;
}

.floating-3d-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.btn-3d-action {
  background: var(--white);
  color: var(--primary-color) !important;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
  transition: all var(--transition-fast) ease;
}

.btn-3d-action:hover {
  transform: translateZ(35px) scale(1.05);
  background: var(--accent-gradient);
  color: var(--white) !important;
  box-shadow: 0 8px 20px var(--accent-glow);
}

/* Dark mode overrides for 3D card */
body.dark-theme .floating-3d-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5);
}

/* Responsiveness for 3D Showcase */
@media (max-width: 992px) {
  .hero {
    height: auto;
    padding: 140px 0 60px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-showcase {
    margin-top: 20px;
  }
}
