@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0a1628;
  --primary-light: #1a365d;
  --primary-dark: #050d18;
  --secondary: #d4a853;
  --secondary-light: #e8c778;
  --secondary-dark: #b8923f;
  --accent: #38a169;
  --dark: #0f1419;
  --gray-900: #1a1f2e;
  --gray-800: #2d3344;
  --gray-600: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.2);
  --shadow-xl: 0 30px 60px rgba(0,0,0,0.3);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::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: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 168, 83, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

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

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

.btn-outline:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-after-hero {
  padding-top: 22rem;
}

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

.section-light {
  background: linear-gradient(180deg, var(--gray-100) 0%, #ffffff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-dark .section-header p {
  color: var(--gray-400);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-brand .logo {
  width: 50px;
  height: 50px;
  background: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
  transform: perspective(500px) rotateY(-5deg);
  transition: var(--transition);
}

.navbar-brand:hover .logo {
  transform: perspective(500px) rotateY(0deg) scale(1.05);
}

.navbar-brand span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
  letter-spacing: -0.5px;
}

.navbar.scrolled .navbar-brand span {
  color: var(--white);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.5rem 0;
}

.navbar.scrolled .navbar-menu a {
  color: rgba(255, 255, 255, 0.9);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--secondary);
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  transition: var(--transition);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-cta .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.navbar.scrolled .navbar-cta .btn {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
  background: var(--white);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1586201375761-83865001e31c?w=1920&q=80') center center / cover no-repeat;
  filter: brightness(0.5) saturate(1.2);
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.1); }
  100% { transform: scale(1.2); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.75) 0%,
    rgba(26, 54, 93, 0.55) 50%,
    rgba(10, 22, 40, 0.85) 100%
  );
}

.map-visual img:hover {
  transform: scale(1.02);
}

/* WhatsApp Floating Button */

/* Fade-in animation for stats */

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .who-grid {
    grid-template-columns: 1fr;
  }
  .stat-value {
    font-size: 2.5rem;
  }
}

@keyframes fadeInStat {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Who We Are Section */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

.who-image {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
  padding: 12px;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  color: #fff;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.flag-pk {
  display: inline-block;
  width: 20px;
  height: 15px;
  background: linear-gradient(to right, #006600 0%, #006600 100%);
  position: relative;
  vertical-align: middle;
  margin-right: 8px;
  border: 1px solid #eee;
}

/* Simplified PK flag using emoji for better compatibility if needed, 
   but using a styled span here for the "logo" feel */
.pk-logo {
  font-size: 1.2rem;
  margin-right: 8px;
  vertical-align: middle;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.6;
  animation: floatParticle 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 20s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-delay: 0.5s; animation-duration: 15s; }
.particle:nth-child(9) { left: 90%; animation-delay: 3.5s; animation-duration: 19s; }
.particle:nth-child(10) { left: 95%; animation-delay: 1.5s; animation-duration: 11s; }

@keyframes floatParticle {
  0%, 100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  transform: translateY(30px);
  opacity: 0;
  animation: heroSlideUp 1s ease-out 0.3s forwards;
}

@keyframes heroSlideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 600;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(212, 168, 83, 0); }
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--secondary), transparent);
}

.products-section-home {
  margin-top: 12rem;
}

.stats-section {
  background: transparent;
  padding: 0;
  margin-top: -18rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.stat-item {
  opacity: 0;
  animation: fadeInStat 0.8s ease forwards;

  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  border: 1px solid var(--gray-200);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card:hover {
  transform: translateY(-15px) rotateX(2deg);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}

.product-image {
  height: 250px;
  background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: 0.8s;
}

.product-card:hover .product-image::before {
  transform: translateX(100%);
}

.product-image-placeholder {
  font-size: 5rem;
  opacity: 0.4;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.product-category {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.4);
}

.product-content {
  padding: 2rem;
}

.product-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.product-content p {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  color: var(--gray-700);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  text-align: center;
  transition: var(--transition-slow);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.why-card:hover::before {
  transform: scaleX(1);
}

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

.why-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  box-shadow: 0 10px 30px rgba(26, 54, 93, 0.3);
  transform: perspective(500px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  transform: perspective(500px) rotateY(0) rotateX(0) scale(1.1);
}

.why-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.why-card p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

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

.process-step::after {
  content: '';
  position: absolute;
  top: 45px;
  right: -40%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), transparent);
}

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

.process-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  position: relative;
  transform: perspective(500px) rotateY(10deg);
  transition: var(--transition);
}

.process-step:hover .process-icon {
  transform: perspective(500px) rotateY(0) scale(1.1);
  border-color: var(--secondary);
}

.process-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.4);
}

.process-step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.map-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
  position: relative;
  overflow: hidden;
}

.map-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='%23d4a853' fill-opacity='0.1'/%3E%3C/svg%3E");
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}

.map-content h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.map-content p {
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.map-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.map-stat {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  transform: translateY(0);
}

.map-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.map-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.map-stat-label {
  font-size: 0.9375rem;
  color: var(--gray-600);
  font-weight: 500;
}

.map-visual {
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.map-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 50%);
  animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
}

.country-tag {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  color: var(--gray-700);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.country-tag:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  text-align: center;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a853' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 6rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light), var(--secondary));
}

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

.footer-brand .logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-brand .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.8;
}

.footer h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: var(--gray-400);
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}

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

.footer-contact p {
  color: var(--gray-400);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 48px;
  height: 48px;
  background: var(--gray-800);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.25rem;
}

.social-link:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-5px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-400);
  font-size: 0.9375rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a:hover {
  color: var(--white);
}

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 12rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a853' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

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

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.875rem 2rem;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: none;
  border-color: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 24px;
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 50%);
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  position: relative;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
}

.contact-icon {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.contact-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  opacity: 0.8;
}

.contact-item p {
  font-size: 1.1rem;
  font-weight: 500;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #25D366;
  color: var(--white);
  padding: 1.25rem 2rem;
  border-radius: 14px;
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.quality-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--secondary);
  transition: var(--transition);
}

.quality-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.quality-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.quality-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

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

.specs-table th,
.specs-table td {
  padding: 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.specs-table th {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  font-weight: 600;
  color: var(--gray-700);
  width: 40%;
}

.specs-table td {
  color: var(--gray-600);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-gallery {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border-radius: 24px;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  position: relative;
  overflow: hidden;
}

.product-gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
}

.product-details h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.product-details .short-desc {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.product-details p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.animation-fade {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animation-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.animation-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animation-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.animation-3d {
  opacity: 0;
  transform: perspective(1000px) rotateY(-15deg) translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animation-3d.visible {
  opacity: 1;
  transform: perspective(1000px) rotateY(0) translateX(0);
}

@media (max-width: 1200px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .process-step::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .map-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  
  .navbar-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .navbar-menu.active a {
    font-size: 1.5rem;
    color: var(--white);
  }
  
  .navbar-menu.active a:hover,
  .navbar-menu.active a.active {
    color: var(--secondary);
  }
  
  .navbar-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
    position: relative;
    z-index: 1000;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-value {
    font-size: 2.5rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .quality-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
}

/* Blog Styles */
.blog-category {
  margin-bottom: 6rem;
}

.blog-category:last-child {
  margin-bottom: 0;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--gray-200);
  position: relative;
}

.category-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
}

.category-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(10, 22, 40, 0.3);
  flex-shrink: 0;
}

.category-info {
  flex: 1;
}

.category-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.category-info p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
}

.post-count {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--gray-200);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition-slow);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}

.blog-card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: 0.8s;
}

.blog-card:hover .blog-card-image::before {
  transform: translateX(100%);
}

.blog-emoji {
  font-size: 3.5rem;
  transition: var(--transition);
}

.blog-card:hover .blog-emoji {
  transform: scale(1.2);
}

.blog-card-content {
  padding: 1.75rem;
}

.blog-category-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.blog-card-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-content p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: var(--secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-dark);
  gap: 0.75rem;
}

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

@media (max-width: 768px) {
  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .category-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
  
  .category-info h3 {
    font-size: 1.5rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-card-image {
    height: 140px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .map-stats {
    grid-template-columns: 1fr;
  }
}

/* Blog Preview Section (Homepage) */
.blog-preview-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--primary-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-preview-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.blog-preview-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary);
}

.preview-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.preview-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a853' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.preview-emoji {
  font-size: 4rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.blog-preview-card:hover .preview-emoji {
  transform: scale(1.2) rotate(5deg);
}

.preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.3), transparent);
}

.preview-card-content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.preview-category {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  width: fit-content;
}

.preview-category.farming {
  background: rgba(56, 161, 105, 0.1);
  color: #38a169;
}

.preview-category.processing {
  background: rgba(212, 168, 83, 0.15);
  color: var(--secondary-dark);
}

.preview-category.export {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.preview-card-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.preview-card-content p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Blog Categories Strip */
.blog-categories-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
}

.category-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-item:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.category-item:hover .cat-info h5,
.category-item:hover .cat-info span,
.category-item:hover .cat-icon {
  color: var(--white);
}

.cat-icon {
  font-size: 2rem;
  transition: all 0.3s ease;
}

.cat-info {
  flex: 1;
}

.cat-info h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.cat-info span {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
  transition: all 0.3s ease;
}

.cat-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.category-item:hover .cat-arrow {
  background: var(--secondary-light);
  transform: translateX(5px);
}

.btn-lg {
  padding: 1.15rem 2.5rem;
  font-size: 1rem;
}

.btn-icon {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

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

@media (max-width: 768px) {
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
  
  .preview-card-image {
    height: 160px;
  }
}

.post-toc {
  background: linear-gradient(135deg, var(--gray-100) 0%, #f8fafc 100%);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.post-toc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: 16px 0 0 16px;
}

.post-toc h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-toc h3::before {
  content: '📋';
  font-size: 1.1rem;
}

.post-toc ol {
  margin: 0;
  padding-left: 1.5rem;
  counter-reset: toc-counter;
}

.post-toc ol li {
  list-style: none;
  counter-increment: toc-counter;
  margin-bottom: 0.75rem;
  position: relative;
}

.post-toc ol li::before {
  content: counter(toc-counter);
  position: absolute;
  left: -1.75rem;
  top: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.post-toc ol li a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  padding: 0.25rem 0;
}

.post-toc ol li a:hover {
  color: var(--secondary-dark);
  padding-left: 0.5rem;
}

.post-content a {
  color: var(--secondary-dark);
  text-decoration: underline;
  font-weight: 600;
  padding: 0 2px;
  transition: all 0.2s ease;
}

.post-content a:hover {
  color: var(--primary);
  text-decoration: none;
}

.post-content a:visited {
  color: #8B6914;
}

.page-header time {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  margin-top: 1rem;
  box-shadow: 0 2px 10px rgba(212, 168, 83, 0.3);
}

.page-header time::before {
  content: '📅 ';
  margin-right: 0.25rem;
}

.post-nav {
  max-width: 900px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.post-nav-item:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.post-nav-item.prev { align-items: flex-start; }
.post-nav-item.next { align-items: flex-end; }

.post-nav-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.post-nav-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

.post-nav-item.prev .post-nav-label::before { content: '←'; }
.post-nav-item.next .post-nav-label::after { content: '→'; }

.related-posts {
  max-width: 900px;
  margin: 0 auto 3rem;
}

.related-posts h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition);
}

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

.related-card-image {
  height: 120px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

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

.related-card-content {
  padding: 1rem;
}

.related-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.related-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .post-nav { grid-template-columns: 1fr; gap: 1rem; }
  .post-nav-item.next { align-items: flex-start; }
  .post-nav-item.next .post-nav-label::after { display: none; }
  .related-grid { grid-template-columns: 1fr; }
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--primary);
  color: var(--gray-200);
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-consent.show { transform: translateY(0); }
.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-consent p { font-size: 0.875rem; line-height: 1.6; margin: 0; flex: 1; min-width: 240px; }
.cookie-consent p a { color: var(--secondary); text-decoration: underline; }
.cookie-consent p a:hover { color: var(--secondary-light); }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn-accept {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--primary-dark);
}
.cookie-btn-dismiss {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid var(--gray-600);
}
.cookie-btn-dismiss:hover { background: rgba(255,255,255,0.1); }

/* ========== UTILITY CLASSES ========== */
.heading-lg { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 2rem; line-height: 1.2; }
.heading-md { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; line-height: 1.2; }
.heading-sm { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.text-body { font-size: 1.1rem; color: var(--gray-700); line-height: 1.9; }
.text-muted { color: var(--gray-600); }
.text-center { text-align: center; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.rounded-lg { border-radius: 24px; }
.rounded-md { border-radius: 12px; }
.shadow-card { box-shadow: var(--shadow-lg); }
.bg-light { background: var(--gray-100); }
.bg-white { background: var(--white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }
.team-avatar { width: 140px; height: 140px; background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%); border-radius: 50%; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; font-size: 4rem; box-shadow: var(--shadow-lg); overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { color: var(--primary); font-weight: 700; font-size: 1.2rem; }
.team-role { color: var(--gray-600); font-size: 0.9375rem; }
.quality-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.mt-2 { margin-top: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ad-slot { min-height: 90px; margin: 2rem auto; }
.ad-slot-footer { min-height: 90px; margin: 2rem auto 0; }
.hr-divider { margin: 3rem 0; border: none; border-top: 2px solid var(--gray-200); }
