@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties - Natural Earthy Color Palette */
:root {
  /* Primary Neutral Colors */
  --warm-cream: #faf7f2;
  --soft-beige: #f5f1eb;
  --warm-white: #fefdfb;
  --light-sand: #f0ebe3;
  
  /* Earth Tones */
  --sage-green: #9caf88;
  --sage-light: #b5c4a7;
  --sage-dark: #7a8d6b;
  --sage-muted: #8fa079;
  
  /* Brown Tones */
  --warm-brown: #8b7355;
  --muted-brown: #a68b5b;
  --light-brown: #c4a876;
  --dark-brown: #6b5b47;
  
  /* Gray Tones */
  --warm-gray: #9b9b9b;
  --light-gray: #d4d0c8;
  --medium-gray: #b8b3aa;
  --charcoal: #3d3d3d;
  --soft-charcoal: #565656;
  
  /* Accent Colors */
  --olive-green: #8b9b6b;
  --soft-rust: #b8956b;
  --warm-terracotta: #c49b7a;
  --muted-gold: #d4b886;
  
  /* Semantic Colors */
  --success: #7a9b6b;
  --warning: #d4b886;
  --error: #b8956b;
  --info: #8b9b9b;
    --beige-base: #f8f5f2;
  --beige-light: #f3ede6;
  --beige-border: #e1d4c2;
  --beige-hover: #e8dfd3;
  --beige-text: #4a3f34;
  --beige-accent: #b89b7c;
  
  /* Shadows and Effects */
  --shadow-soft: 0 2px 12px rgba(139, 115, 85, 0.08);
  --shadow-medium: 0 4px 24px rgba(139, 115, 85, 0.12);
  --shadow-strong: 0 8px 32px rgba(139, 115, 85, 0.16);
  --shadow-glow: 0 0 20px rgba(156, 175, 136, 0.15);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Spacing System (8px base) */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  
  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.5;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--warm-cream);
  color: var(--charcoal);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--warm-brown);
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--warm-brown), var(--muted-brown));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: var(--text-3xl);
  color: var(--sage-dark);
}

h3 {
  font-size: var(--text-2xl);
  color: var(--warm-brown);
}

p {
  margin-bottom: var(--space-4);
  color: var(--soft-charcoal);
  line-height: 1.7;
}

/* Container and Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* Glass Effect Components */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(156, 175, 136, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.glass-effect {
  background: rgba(245, 241, 235, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(156, 175, 136, 0.15);
  border-radius: var(--radius-md);
}

/* Enhanced Header Styles */
.enhanced-header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.header-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05);
}

.header-bg-image.fade-in {
  opacity: 1;
  transform: scale(1);
}

.header-bg-image.fade-out {
  opacity: 0;
  transform: scale(1.1);
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(156, 175, 136, 0.3) 0%,
    rgba(139, 115, 85, 0.2) 50%,
    rgba(184, 149, 107, 0.3) 100%);
  z-index: 2;
}

.header-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-8);
}

.brand-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-8);
  background: linear-gradient(135deg, var(--warm-brown), var(--muted-brown), var(--sage-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(139, 115, 85, 0.1);
}

.arabic-section {
  margin-bottom: var(--space-10);
}

.arabic-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #f8f5f2; /* vanilla white */
  direction: rtl;
  text-align: center;
  text-shadow: 0 2px 4px rgba(156, 175, 136, 0.3);
}
.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: var(--space-6) auto;
  text-decoration: none;
}

.logo-img {
  max-width: 160px; /* Adjust size as needed */
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}
.floating-arrow {
  position: fixed;
  right: var(--space-4);
  z-index: 1000;
  background: linear-gradient(135deg, var(--sage-green), var(--olive-green));
  color: var(--warm-white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s ease, background 0.3s ease;
  opacity: 0.85;
}

.floating-arrow:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--olive-green), var(--sage-dark));
}

.top-arrow {
  top: var(--space-4);
}

.bottom-arrow {
  bottom: var(--space-4);
}
.dgs-footer {
  background: linear-gradient(135deg, var(--warm-brown), var(--muted-brown));
  color: var(--warm-white);
  padding: var(--space-8) var(--space-4);
  text-align: center;
  border-top: 2px solid var(--soft-rust);
  box-shadow: var(--shadow-medium);
  font-family: 'Poppins', sans-serif;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: var(--space-4);
}

.footer-logo-img {
  max-width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-container {
  max-width: 960px;
  margin: 0 auto;
}

.footer-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.footer-note {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--muted-gold);
  margin-bottom: var(--space-6);
}

.footer-contact p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
  color: var(--warm-white);
}

.footer-contact i {
  margin-right: 8px;
  color: var(--muted-gold);
}

.footer-contact a {
  color: var(--warm-white);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--muted-gold);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.social-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--muted-gold);
  color: var(--charcoal);
  transform: scale(1.1);
}

.footer-legal {
  font-size: var(--text-xs);
  color: var(--light-gray);
  margin-top: var(--space-4);
}

.cta-button,
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 1.2rem 2rem;
  margin: 0.5rem auto;

  background: linear-gradient(135deg, #f0e7dd, #e8dfd3); /* soft beige vanilla */
  color: #3f3228; /* rich chocolate brown text */
  
  border: none;
  border-radius: 9999px;
  font-family: 'Tajawal', 'Cairo', 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;

  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  line-height: 1.6;

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  min-width: 240px;
}

/* Shine effect */
.cta-button::before,
.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

/* Hover - brighter with camel tone */
.cta-button:hover,
.cta-primary:hover {
  background: linear-gradient(135deg, #eaddcf, #f8f5f2); /* more contrast */
  color: #3f3228;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.cta-button:hover::before,
.cta-primary:hover::before {
  left: 100%;
}

/* Active - pressed look */
.cta-button:active,
.cta-primary:active {
  background: linear-gradient(135deg, #d6c6b1, #c8cb7d); /* warm pressed tone */
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}


/* Form Styles */
.form-input,
.surface-input {
  width: 100%;
  padding: var(--space-4);
  background: var(--beige-light);
  border: 2px solid var(--beige-border);
  border-radius: var(--radius-md);
  color: var(--beige-text);
  font-size: var(--text-base);
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder,
.surface-input::placeholder {
  color: rgba(74, 63, 52, 0.5); /* Muted text */
}

.form-input:focus,
.surface-input:focus {
  background: var(--beige-hover);
  border-color: var(--beige-accent);
  color: var(--beige-text);
  box-shadow: 0 0 0 3px rgba(184, 155, 124, 0.15);
}


/* Gamme Selector Styles */
.gamme-selector {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(156, 175, 136, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.gamme-selector:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--sage-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.gamme-selector.active {
  background: linear-gradient(135deg, rgba(156, 175, 136, 0.2), rgba(139, 115, 85, 0.1));
  border-color: var(--sage-green);
  border-width: 3px;
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong), var(--shadow-glow);
}

.gamme-selector.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(156, 175, 136, 0.3), transparent);
  animation: shimmer 2s infinite;
  z-index: 1;
}

.gamme-selector.active::after {
  content: '✓';
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 24px;
  height: 24px;
  background: var(--sage-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--warm-white);
  z-index: 3;
  animation: checkmark-appear 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gamme-selector > * {
  position: relative;
  z-index: 2;
}

.gamme-selector img {
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(139, 115, 85, 0.2));
}

.gamme-selector.active img {
  filter: drop-shadow(0 4px 8px rgba(156, 175, 136, 0.4));
  animation: icon-float 3s ease-in-out infinite;
}

.gamme-selector .font-bold {
  color: var(--warm-brown);
  font-weight: 600;
  transition: all 0.3s ease;
}

.gamme-selector.active .font-bold {
  color: var(--sage-dark);
  text-shadow: 0 2px 4px rgba(156, 175, 136, 0.3);
}

/* Category Tab Styles */
.category-tab {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 2px solid rgba(156, 175, 136, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--soft-charcoal);
}

.category-tab:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--sage-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  color: var(--charcoal);
}

.category-tab.active {
  background: linear-gradient(135deg, rgba(156, 175, 136, 0.15), rgba(184, 149, 107, 0.1));
  border-color: var(--sage-green);
  border-width: 3px;
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  color: var(--charcoal);
}

.category-tab.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(156, 175, 136, 0.2), transparent);
  animation: categoryShimmer 2s infinite;
  z-index: 1;
}

.category-tab.active::after {
  content: '✓';
  position: absolute;
  top: var(--space-1);
  right: var(--space-1);
  width: 20px;
  height: 20px;
  background: var(--sage-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--warm-white);
  z-index: 3;
  animation: categoryCheckmarkAppear 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.category-tab > * {
  position: relative;
  z-index: 2;
}

.category-tab img,
.category-tab svg {
  transition: all 0.4s ease;
  filter: drop-shadow(0 1px 2px rgba(139, 115, 85, 0.2));
}

.category-tab.active img,
.category-tab.active svg {
  filter: drop-shadow(0 2px 4px rgba(156, 175, 136, 0.4));
  animation: categoryIconFloat 3s ease-in-out infinite;
}

.category-tab .font-medium {
  font-weight: 500;
  transition: all 0.3s ease;
}

.category-tab.active .font-medium {
  color: var(--sage-dark);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(156, 175, 136, 0.2);
}

/* Service Card Styles */
.service-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(156, 175, 136, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--sage-green);
  background: rgba(255, 255, 255, 0.9);
}

.service-card.selected {
  background: linear-gradient(135deg, rgba(156, 175, 136, 0.15), rgba(139, 115, 85, 0.1));
  border-color: var(--sage-green);
  border-width: 3px;
  box-shadow: var(--shadow-strong), var(--shadow-glow);
}

.service-card h3 {
  color: var(--warm-brown);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.service-card .text-xs {
  color: var(--warm-gray);
  font-size: var(--text-xs);
}

.service-card .text-gray-300 {
  color: var(--medium-gray);
  font-style: italic;
}

/* Quantity Input Styles */
.quantity-input {
  background: var(--warm-white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  width: 80px;
  text-align: center;
  padding: var(--space-2);
  font-size: var(--text-sm);
  transition: all 0.3s ease;
}

.quantity-input:focus {
  border-color: var(--sage-green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(156, 175, 136, 0.2);
}

.quantity-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--light-sand);
}

/* Gamme Override Select */
.gamme-override {
  background: var(--warm-white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all 0.3s ease;
  padding: var(--space-2) var(--space-3);
}

.gamme-override:focus {
  border-color: var(--sage-green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(156, 175, 136, 0.2);
}

.floating-total {
  position: fixed;
  bottom: 60px; /* slightly closer to edge */
  right: var(--space-2);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(34, 139, 34, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  animation: gentle-pulse 4s infinite;
  min-width: 140px; /* smaller */
  font-weight: 600;
  color: #228B22;
  font-size: 0.75rem;
}
/* Call Button */
.call-button {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 1000;
  animation: gentle-bounce 4s infinite;
}

.call-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--success), var(--sage-green));
  color: var(--warm-white);
  border-radius: 50%;
  text-decoration: none;
  font-size: var(--text-xl);
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

.call-button a:hover {
  background: linear-gradient(135deg, var(--sage-dark), var(--success));
  transform: scale(1.1);
  box-shadow: var(--shadow-strong);
}

/* Utility Button Styles */
.bg-blue-600 {
  background: linear-gradient(135deg, var(--sage-green), var(--sage-light));
}

.bg-blue-600:hover,
.hover\:bg-blue-700:hover {
  background: linear-gradient(135deg, var(--sage-dark), var(--sage-green));
}

.bg-red-600 {
  background: linear-gradient(135deg, var(--soft-rust), var(--warm-terracotta));
}

.bg-red-600:hover,
.hover\:bg-red-700:hover {
  background: linear-gradient(135deg, var(--error), var(--soft-rust));
}

.bg-purple-600 {
  background: linear-gradient(135deg, var(--muted-brown), var(--warm-brown));
}

.bg-purple-600:hover,
.hover\:bg-purple-700:hover {
  background: linear-gradient(135deg, var(--warm-brown), var(--dark-brown));
}

.bg-green-600 {
  background: linear-gradient(135deg, var(--success), var(--olive-green));
}

.bg-green-600:hover,
.hover\:bg-green-700:hover {
  background: linear-gradient(135deg, var(--sage-dark), var(--success));
}

.bg-yellow-400 {
  background: linear-gradient(135deg, var(--muted-gold), var(--warning));
  color: var(--charcoal);
}

.bg-yellow-400:hover,
.hover\:bg-yellow-300:hover {
  background: linear-gradient(135deg, var(--warning), var(--light-brown));
}

/* Color Utilities */
.text-white {
  color: var(--warm-white);
}

.text-black {
  color: var(--charcoal);
}

.text-yellow-400 {
  color: var(--muted-gold);
}

.text-gray-400 {
  color: var(--medium-gray);
}

.text-gray-300 {
  color: var(--light-gray);
}

.border-yellow-400 {
  border-color: var(--muted-gold);
}

.border-gray-600 {
  border-color: var(--medium-gray);
}

.border-gray-400 {
  border-color: var(--light-gray);
}

/* Background Utilities */
.bg-gray-700 {
  background-color: var(--warm-white);
  color: var(--charcoal);
}

.bg-gray-800 {
  background-color: var(--soft-beige);
  color: var(--charcoal);
}

.bg-opacity-40 {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Focus Utilities */
.focus\:border-yellow-400:focus {
  border-color: var(--sage-green);
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px rgba(156, 175, 136, 0.2);
}

.focus\:ring-yellow-300:focus {
  box-shadow: 0 0 0 3px rgba(156, 175, 136, 0.15);
}

/* Notification Styles */
.notification {
  position: fixed;
  top: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  max-width: 400px;
  width: 90%;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.notification.success {
  background: linear-gradient(135deg, rgba(122, 155, 107, 0.95), rgba(156, 175, 136, 0.9));
  color: var(--warm-white);
  border: 2px solid var(--success);
}

.notification.error {
  background: linear-gradient(135deg, rgba(184, 149, 107, 0.95), rgba(196, 155, 122, 0.9));
  color: var(--warm-white);
  border: 2px solid var(--soft-rust);
}

.notification.hidden {
  display: none;
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--warm-white);
  animation: spin 1s ease-in-out infinite;
}

/* Swiper Customization */
.swiper {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.swiper-pagination-bullet {
  background-color: var(--sage-green);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: var(--sage-green);
  opacity: 1;
}

/* Category Information */
.category-info {
  text-align: center;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(156, 175, 136, 0.2);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.category-info h2 {
  color: var(--warm-brown);
  margin-bottom: var(--space-3);
}

.category-info p {
  color: var(--medium-gray);
  margin-bottom: 0;
}

/* Grid Layouts */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.space-x-2 > * + * {
  margin-left: var(--space-2);
}

.space-x-3 > * + * {
  margin-left: var(--space-3);
}

.space-y-6 > * + * {
  margin-top: var(--space-6);
}

/* Spacing Utilities */
.p-3 {
  padding: var(--space-3);
}

.p-4 {
  padding: var(--space-4);
}

.p-6 {
  padding: var(--space-6);
}

.p-8 {
  padding: var(--space-8);
}

.px-3 {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.px-4 {
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}

.px-10 {
  padding-left: var(--space-10);
  padding-right: var(--space-10);
}

.py-2 {
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.py-3 {
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.py-4 {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-3 {
  margin-bottom: var(--space-3);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-12 {
  margin-bottom: var(--space-12);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mr-2 {
  margin-right: var(--space-2);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-xs {
  font-size: var(--text-xs);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-xl {
  font-size: var(--text-xl);
}

.text-2xl {
  font-size: var(--text-2xl);
}

.text-3xl {
  font-size: var(--text-3xl);
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

/* Border Utilities */
.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-full {
  border-radius: var(--radius-full);
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

/* Size Utilities */
.w-full {
  width: 100%;
}

.w-8 {
  width: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.min-h-screen {
  min-height: 100vh;
}

.min-w-\[240px\] {
  min-width: 240px;
}

.min-w-\[220px\] {
  min-width: 220px;
}

.max-w-\[400px\] {
  max-width: 400px;
}

/* Position Utilities */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-1000 {
  z-index: 1000;
}

/* Display Utilities */
.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-flex {
  display: inline-flex;
}

/* Transform Utilities */
.transform {
  transform: translateZ(0);
}

/* Transition Utilities */
.transition-all {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.duration-200 {
  transition-duration: 0.2s;
}

.duration-300 {
  transition-duration: 0.3s;
}

/* Cursor Utilities */
.cursor-pointer {
  cursor: pointer;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

/* Opacity Utilities */
.opacity-75 {
  opacity: 0.75;
}

/* Overflow Utilities */
.overflow-hidden {
  overflow: hidden;
}

/* Outline Utilities */
.outline-none {
  outline: none;
}

/* Keyframe Animations */
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes categoryShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes checkmark-appear {
  0% {
    transform: scale(0) rotate(180deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes categoryCheckmarkAppear {
  0% {
    transform: scale(0) rotate(180deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes icon-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes categoryIconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes gentle-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes gentle-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

@keyframes slideDown {
  from {
    transform: translate(-50%, -100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 480px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
    --space-4: 0.875rem;
    --space-6: 1.25rem;
    --space-8: 1.75rem;
  }

  .container {
    padding: 0 var(--space-3);
  }

  .header-content {
    padding: var(--space-6);
  }

 
  .cta-button,
  .cta-primary {
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }



  .floating-total {
    right: var(--space-2);
    bottom: 70px;
    min-width: 260px;
    font-size: var(--text-sm);
  }

  .call-button {
    right: var(--space-3);
    bottom: var(--space-3);
  }

  .call-button a {
    width: 50px;
    height: 50px;
    font-size: var(--text-lg);
  }

  .category-tab {
    padding: var(--space-3);
  }

  .category-tab img,
  .category-tab svg {
    width: 24px;
    height: 24px;
  }

  .category-tab .font-medium {
    font-size: var(--text-xs);
  }

  .gamme-selector {
    padding: var(--space-4);
  }

  .service-card {
    padding: var(--space-4);
  }
}

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:p-12 {
    padding: var(--space-12);
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Print Styles */
@media (max-width: 600px) {
  .floating-total {
    bottom: 40px;          /* optionally adjust position */
    right: var(--space-1); /* smaller margin */
    min-width: 100px;      /* smaller width */
    padding: 4px 8px;      /* less padding */
    font-size: 0.6rem;     /* smaller text */
  }
}
@media print {

  body {
    background: white;
    color: black;
  }

  .glass-card,
  .glass-effect {
    background: white;
    border: 1px solid #ccc;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --charcoal: #000000;
    --warm-white: #ffffff;
    --sage-green: #006600;
    --warm-brown: #663300;
    --soft-rust: #cc6600;
 --natural-green-bg: #e7f0e7;       /* Soft sage green background */
  --natural-green: #9caf88;          /* Border / accent green */
  --natural-green-focus: #dbe6d9;    /* Slightly deeper green on focus */
  --deep-green-text: #4a5e42; 
    --beige-base: #f8f5f2;
  --beige-light: #f3ede6;
  --beige-border: #e1d4c2;
  --beige-hover: #e8dfd3;
  --beige-text: #4a3f34;
  --beige-accent: #b89b7c;
  }

  .glass-card,
  .glass-effect {
    background: white;
    border: 2px solid black;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .header-bg-image {
    transition: none;
  }
}

/* Focus Visible Support */
@supports selector(:focus-visible) {
  .cta-button:focus,
  .cta-primary:focus,
  .cta-secondary:focus,
  .form-input:focus,
  .surface-input:focus {
    outline: none;
  }

  .cta-button:focus-visible,
  .cta-primary:focus-visible,
  .cta-secondary:focus-visible {
    outline: 3px solid var(--sage-green);
    outline-offset: 2px;
  }

  .form-input:focus-visible,
  .surface-input:focus-visible {
    outline: 2px solid var(--sage-green);
    outline-offset: 1px;
  }
}