/* ============================================
   MAHADEV ROTI FACTORY - Design System
   Premium Food Business Website
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Colors - Warm Palette */
  --color-primary: #D4740A;
  --color-primary-dark: #B85E00;
  --color-primary-light: #F5A623;
  --color-secondary: #3D2B1F;
  --color-accent: #E8A435;

  /* Neutral Colors */
  --color-cream: #FFF8F0;
  --color-cream-dark: #F5EEDF;
  --color-white: #FFFFFF;
  --color-dark: #1A1209;
  --color-text: #3A2E22;
  --color-text-light: #7A6C5B;
  --color-border: #E6D9C6;

  /* Functional Colors */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1DA851;
  --color-call: #D4740A;
  --color-success: #22C55E;
  --color-star: #F59E0B;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #D4740A 0%, #F5A623 100%);
  --gradient-dark: linear-gradient(135deg, #3D2B1F 0%, #5C4033 100%);
  --gradient-hero: linear-gradient(135deg, rgba(26, 18, 9, 0.85) 0%, rgba(61, 43, 31, 0.7) 100%);
  --gradient-warm: linear-gradient(135deg, #FFF8F0 0%, #F5EEDF 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(61, 43, 31, 0.06);
  --shadow-md: 0 4px 16px rgba(61, 43, 31, 0.1);
  --shadow-lg: 0 8px 32px rgba(61, 43, 31, 0.12);
  --shadow-xl: 0 16px 48px rgba(61, 43, 31, 0.16);
  --shadow-glow: 0 0 30px rgba(212, 116, 10, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --header-height: 80px;
  --container-max: 1200px;
  --container-narrow: 900px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.text-light { color: var(--color-text-light); }
.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-center { text-align: center; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.section-cream {
  background: var(--gradient-warm);
}

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-lg);
  background: rgba(212, 116, 10, 0.1);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section-dark .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 650px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn svg,
.btn i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(212, 116, 10, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 116, 10, 0.4);
  color: var(--color-white);
}

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

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  color: var(--color-white);
}

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

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

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary-dark);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-white);
  transition: color var(--transition-base);
}

.header.scrolled .logo-name {
  color: var(--color-secondary);
}

.logo-tagline {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color var(--transition-base);
}

.header.scrolled .logo-tagline {
  color: var(--color-text-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.header.scrolled .nav-links a {
  color: var(--color-text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
  border-radius: 2px;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary-light);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
  color: var(--color-primary);
}

.nav-cta {
  display: flex;
  gap: var(--space-sm);
}

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-lg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s 0.2s ease both;
}

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

.hero-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  max-width: 580px;
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero .btn-group {
  animation: fadeInUp 0.8s 0.6s ease both;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.8s 0.8s ease both;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.hero-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Trust Section ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.trust-item {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: rgba(212, 116, 10, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.trust-item:hover .trust-icon {
  background: var(--gradient-primary);
  color: var(--color-white);
  transform: scale(1.08);
}

.trust-item h4 {
  margin-bottom: var(--space-xs);
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ---------- Services Section ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.service-card-img .service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 18, 9, 0.5) 0%, transparent 60%);
}

.service-card-body {
  padding: var(--space-xl);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 116, 10, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.service-card .btn-sm {
  width: 100%;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.why-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-image-badge {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-md);
}

.why-image-badge .badge-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.why-image-badge .badge-text {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.3;
}

.why-content h2 {
  margin-bottom: var(--space-lg);
}

.why-content > p {
  margin-bottom: var(--space-2xl);
  font-size: 1.05rem;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.why-feature {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.why-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(212, 116, 10, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.why-feature h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.why-feature p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ---------- Process Section ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-steps::before {
  display: none;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Connector lines BETWEEN circles (not through them) */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 31px;
  left: calc(50% + 36px);
  width: calc(100% - 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(212, 116, 10, 0.3));
  z-index: 0;
}

.process-step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: rgba(212, 116, 10, 0.12);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
}

.process-step:hover .process-step-number {
  background: var(--color-accent);
  color: var(--color-secondary);
  transform: scale(1.1);
}

.process-step-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.process-step h4 {
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
}

.process-step p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: var(--space-3xl) 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-full);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-group {
  justify-content: center;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(212, 116, 10, 0.1);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-md);
  color: var(--color-star);
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ---------- FAQ Section ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  cursor: pointer;
  gap: var(--space-md);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: rgba(212, 116, 10, 0.03);
}

.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
}

.faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(212, 116, 10, 0.08);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: 1.2rem;
  color: var(--color-primary);
}

.faq-item.active .faq-toggle {
  background: var(--color-primary);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: var(--space-lg);
}

.footer-about .logo {
  margin-bottom: var(--space-lg);
}

.footer-about .logo-name {
  color: var(--color-white);
}

.footer-about .logo-tagline {
  color: rgba(255, 255, 255, 0.5);
}

.footer-about p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  align-items: flex-start;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(212, 116, 10, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.footer-contact-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-item a:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  padding: var(--space-xl) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Floating Buttons ---------- */
.floating-buttons {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.1);
  color: var(--color-white);
}

.float-btn-whatsapp {
  background: var(--color-whatsapp);
  animation: pulse-whatsapp 2s infinite;
}

.float-btn-call {
  background: var(--color-primary);
  animation: pulse-call 2s infinite;
  animation-delay: 1s;
}

.float-btn-whatsapp:hover {
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.float-btn-call:hover {
  box-shadow: 0 6px 24px rgba(212, 116, 10, 0.5);
}

/* Float tooltip */
.float-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 10px);
  background: var(--color-dark);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.float-btn:hover::before {
  opacity: 1;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-info-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-info-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-white);
  flex-shrink: 0;
}

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

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.contact-info-card a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-map {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

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

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  margin-bottom: var(--space-xs);
}

.contact-form-wrapper > p {
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(212, 116, 10, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ---------- About Page ---------- */
.about-hero {
  background: var(--gradient-dark);
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(212, 116, 10, 0.05);
  border-radius: var(--radius-full);
}

.about-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.about-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  font-size: 1.02rem;
  margin-bottom: var(--space-lg);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.about-value {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.about-value-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 116, 10, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-value h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.about-value p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Mission & Vision Cards */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.mv-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: all var(--transition-base);
}

.mv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.mv-card-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.mv-card h3 {
  margin-bottom: var(--space-sm);
}

.mv-card p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ---------- Services Page Detail ---------- */
.service-detail {
  padding: var(--space-4xl) 0;
}

.service-detail:nth-child(even) {
  background: var(--gradient-warm);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
  direction: rtl;
}

.service-detail:nth-child(even) .service-detail-grid > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.service-detail-content h2 {
  margin-bottom: var(--space-md);
}

.service-detail-content p {
  margin-bottom: var(--space-lg);
}

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.service-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
}

.service-benefit .check {
  width: 24px;
  height: 24px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  background: var(--gradient-dark);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: rgba(212, 116, 10, 0.06);
  border-radius: var(--radius-full);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(212, 116, 10, 0.04);
  border-radius: var(--radius-full);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

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

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

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5); }
}

@keyframes pulse-call {
  0%, 100% { box-shadow: 0 4px 16px rgba(212, 116, 10, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(212, 116, 10, 0.5); }
}

/* Scroll/Intersection Observer Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .why-image {
    max-height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  /* Mobile Nav */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transition: right var(--transition-base);
    align-items: flex-start;
    gap: var(--space-xl);
    z-index: 998;
  }

  .nav.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
  }

  .nav-links a {
    color: var(--color-text) !important;
    font-size: 1.1rem;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    display: block;
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
  }

  .nav-overlay.active {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  }

  .hero-stats {
    gap: var(--space-xl);
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .hero .btn-group {
    flex-direction: column;
  }

  .hero .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* Trust Grid */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .trust-item {
    padding: var(--space-lg) var(--space-md);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* About */
  .about-content-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  /* Service Detail */
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-grid {
    direction: ltr;
  }

  /* CTA Banner */
  .cta-banner .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner .btn-group .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 1.5rem;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .floating-buttons {
    bottom: var(--space-md);
    right: var(--space-md);
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .float-btn::before {
    display: none;
  }
}

/* ---------- Utility Classes ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

/* ---------- Why Outsource Page ---------- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.comparison-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.comparison-header {
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
}

.comparison-header svg {
  margin-bottom: var(--space-sm);
}

.comparison-header h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.comparison-header p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.8;
}

.comparison-header-red {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: var(--color-white);
}

.comparison-header-red h3,
.comparison-header-red p {
  color: var(--color-white);
}

.comparison-header-green {
  background: linear-gradient(135deg, #1DA851, #25D366);
  color: var(--color-white);
}

.comparison-header-green h3,
.comparison-header-green p {
  color: var(--color-white);
}

.comparison-body {
  padding: var(--space-lg) var(--space-2xl) var(--space-xl);
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.cost-row:last-of-type {
  border-bottom: none;
}

.cost-amount {
  font-weight: 600;
  color: var(--color-text);
}

.cost-zero {
  color: #1DA851;
  font-weight: 700;
}

.cost-green {
  color: #1DA851;
  font-weight: 700;
}

.cost-total {
  display: flex;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-md) calc(-1 * var(--space-2xl)) calc(-1 * var(--space-xl));
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.cost-total-red {
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
}

.cost-total-green {
  background: rgba(29, 168, 81, 0.08);
  color: #1DA851;
}

.savings-box {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(29, 168, 81, 0.12));
  border: 2px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.savings-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--color-whatsapp);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.savings-content h3 {
  color: #1DA851;
  margin-bottom: var(--space-xs);
  font-size: 1.4rem;
}

.savings-content p {
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .savings-box {
    flex-direction: column;
    text-align: center;
  }

  .savings-content h3 {
    font-size: 1.2rem;
  }

  .cost-total {
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
    padding: var(--space-md) var(--space-lg);
  }

  .comparison-body {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
  }
}
