/* 
   Wise Foods - Premium Design System Stylesheet
   Color Palette: Fresh Forest Green (#2E7D32), Vibrant Orange (#F57C00), Clean Off-white (#FAFAFA), Charcoal (#263238)
   Typography: Outfit (Headings), Inter (Body)
*/

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

:root {
  --primary: #2E7D32;
  --primary-light: #4CAF50;
  --primary-dark: #1B5E20;
  --primary-bg: #E8F5E9;
  
  --secondary: #F57C00;
  --secondary-light: #FF9800;
  --secondary-dark: #E65100;
  --secondary-bg: #FFF3E0;
  
  --text-main: #263238;
  --text-muted: #546E7A;
  --text-light: #FFFFFF;
  
  --bg-main: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-footer: #1A251D;
  
  --border-color: #E0E0E0;
  --success: #2E7D32;
  --error: #D32F2F;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(46, 125, 50, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --max-width: 1200px;
}

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

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

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

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

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

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

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

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .subtitle {
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 12px auto 0 auto;
  border-radius: var(--radius-full);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

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

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

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

.btn-white:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header & Navigation */
header.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

header.header-nav.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-normal);
}

header.header-nav.scrolled .nav-wrapper {
  height: 64px;
}

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

.logo-dot {
  color: var(--secondary);
}

.logo svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

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

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

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

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

.nav-cta {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1010;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.85) 0%, rgba(245, 124, 0, 0.4) 100%), url('../images/hero.png');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding-top: 80px;
  overflow: hidden;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.hero-tagline {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-light);
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.hero-content h1 span {
  color: #FFF176;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

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

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

.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-up.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Intro & Stats Card Grid */
.intro-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.intro-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-image-wrapper img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.intro-image-wrapper:hover img {
  transform: scale(1.05);
}

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

.stat-card {
  background-color: var(--bg-card);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Core Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background-color: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transition: var(--transition-normal);
}

.value-card:hover::before {
  width: 8px;
}

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

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

.value-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

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

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

/* Category Slider/Grid */
.categories-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

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

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: var(--text-light);
  transition: var(--transition-normal);
}

.category-card h3 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.category-card p {
  font-size: 0.85rem;
  opacity: 0.8;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition-normal);
}

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

.category-card:hover .category-overlay {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
}

.category-card:hover p {
  transform: translateY(0);
  opacity: 1;
}

/* Why Choose Us & Quality features */
.why-us-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.feature-item:hover {
  transform: translateX(5px);
  border-color: var(--secondary-light);
}

.feature-icon-wrapper {
  background-color: var(--secondary-bg);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.feature-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.feature-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Products Page Styles */
.products-search-bar {
  max-width: 600px;
  margin: 0 auto 40px auto;
  position: relative;
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 6px;
}

.products-search-bar input {
  flex-grow: 1;
  padding: 12px 20px;
  color: var(--text-main);
}

.products-search-bar .search-btn {
  background-color: var(--primary);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.products-search-bar .search-btn:hover {
  background-color: var(--primary-dark);
}

.products-search-bar .search-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.category-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-glow);
}

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

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

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

.product-image-container {
  height: 230px;
  overflow: hidden;
  position: relative;
}

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

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

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--secondary);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.product-info-panel {
  padding: 24px;
}

.product-category-name {
  font-size: 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-info-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.product-short-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.product-spec-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  background-color: var(--bg-main);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.view-details-link {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
}

.view-details-link:hover {
  color: var(--secondary);
}

.view-details-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: var(--transition-fast);
}

.view-details-link:hover svg {
  transform: translateX(3px);
}

.no-products-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 0;
  color: var(--text-muted);
}

/* Product Details Page */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.detail-img-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  overflow: hidden;
}

.detail-img-box img {
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.detail-info-box h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.detail-info-box .category {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.detail-info-box .description {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.detail-features {
  margin-bottom: 30px;
}

.detail-features h3, .detail-nutrition h3, .detail-meta h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.features-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.feature-check-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
  flex-shrink: 0;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.nutrition-table th, .nutrition-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.nutrition-table th {
  background-color: var(--primary-bg);
  color: var(--primary-dark);
  font-weight: 600;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.meta-group h4 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.meta-group p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.packaging-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pack-pill {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
}

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

/* Quality Certifications Badge Grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.cert-card {
  background: var(--bg-card);
  padding: 40px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

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

.cert-badge-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.cert-badge-icon svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.cert-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.cert-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Industries Cards Layout */
.industries-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.industry-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

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

.industry-card-body {
  padding: 30px;
}

.industry-tag {
  background-color: var(--secondary-bg);
  color: var(--secondary-dark);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

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

.industry-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.industry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.industry-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* Gallery Layout */
.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
}

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

.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

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

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

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 125, 50, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  opacity: 0;
  transition: var(--transition-normal);
}

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

.gallery-hover-overlay svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-bottom: 8px;
}

.gallery-hover-overlay h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

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

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

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-caption {
  color: var(--text-light);
  text-align: center;
  margin-top: 15px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

/* Testimonials Slider */
.testimonials-section {
  background-color: var(--primary-bg);
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  height: 280px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  text-align: center;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.stars-rating {
  color: var(--secondary);
  margin-bottom: 20px;
  font-size: 1.25rem;
}

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

.testimonial-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--text-light);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-meta h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-meta p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--primary);
  width: 24px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  user-select: none;
}

.faq-question:hover {
  background-color: var(--primary-bg);
  color: var(--primary-dark);
}

.faq-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-muted);
  border-top: 0 solid var(--border-color);
}

.faq-item.active .faq-answer {
  border-top-width: 1px;
}

.faq-answer-content {
  padding: 24px;
  font-size: 0.95rem;
}

/* Blog Page Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.06);
}

.blog-meta-info {
  padding: 24px;
}

.blog-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.blog-tag {
  background-color: var(--primary-bg);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.blog-meta-info h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.blog-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* Contact Page Form & Card Info */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-card-icon {
  background: var(--primary-bg);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-card-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-card-content a:hover {
  color: var(--primary);
}

.contact-form-container {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form-container h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-main);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.contact-map-box {
  margin-top: 50px;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: #E0F2F1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
  margin-bottom: 12px;
}

/* Footer Section */
footer.site-footer {
  background-color: var(--bg-footer);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 24px 0;
  border-top: 4px solid var(--primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-logo svg {
  width: 32px;
  height: 32px;
  fill: var(--text-light);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition-fast);
}

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

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-widget h3 {
  color: var(--text-light);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 10px 16px;
  color: var(--text-light);
  font-size: 0.85rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--text-light);
}

/* Overlay & Notifications widgets */
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background-color: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--primary);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: var(--transition-normal);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Floating Live Chat Widget Mockup */
.chat-widget-wrapper {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  font-family: var(--font-body);
}

.chat-trigger {
  background-color: var(--primary);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition-normal);
}

.chat-trigger:hover {
  transform: scale(1.05);
}

.chat-trigger svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.chat-box {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 320px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideIn 0.3s ease;
}

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

.chat-header {
  background: var(--primary);
  color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  font-family: var(--font-heading);
  color: white;
}

.chat-close-btn {
  cursor: pointer;
  font-weight: bold;
}

.chat-body {
  padding: 16px;
  height: 200px;
  overflow-y: auto;
  background-color: var(--bg-main);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  max-width: 80%;
  font-size: 0.85rem;
}

.chat-msg.agent {
  background: var(--primary-bg);
  color: var(--primary-dark);
  align-self: flex-start;
  border-bottom-left-radius: 0;
}

.chat-msg.user {
  background: var(--secondary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

.chat-input-area {
  display: flex;
  border-top: 1px solid var(--border-color);
  padding: 8px;
}

.chat-input-area input {
  flex-grow: 1;
  padding: 8px;
  font-size: 0.85rem;
}

.chat-send-btn {
  background-color: var(--primary);
  color: white;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 40px));
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1999;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-text {
  flex-grow: 1;
  margin-right: 20px;
}

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

.cookie-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background-color: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cookie-btn-accept:hover {
  background-color: var(--primary-dark);
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid var(--border-color);
}

.cookie-btn-decline:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Success Validation Overlay Popup */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2005;
  display: none;
  align-items: center;
  justify-content: center;
}

.success-box {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 450px;
  width: 90%;
  text-align: center;
  animation: chatSlideIn 0.3s ease;
}

.success-icon-check {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.success-icon-check svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.success-box h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.success-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Legal Pages */
.legal-content {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 12px;
}

.legal-content p, .legal-content ul {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .grid-3, .products-grid, .gallery-grid, .blog-grid, .values-grid, .industries-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4, .categories-showcase, .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-card);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
  }
  header.header-nav.scrolled .nav-menu {
    top: 64px;
    height: calc(100vh - 64px);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-cta {
    display: none; /* Hide on mobile to save space */
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .intro-layout, .why-us-layout, .detail-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-image-wrapper img {
    height: 300px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 16px 20px;
    bottom: 12px;
    width: 92%;
  }
  .cookie-text {
    margin-right: 0;
    margin-bottom: 5px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .cookie-btn-accept, .cookie-btn-decline {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .products-grid, .gallery-grid, .blog-grid, .values-grid, .industries-layout, .categories-showcase, .certs-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .detail-actions {
    flex-direction: column;
  }
  .detail-actions .btn {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Blog Page Enhancements & Blog Details Page */
.blog-meta-info h3 a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-fast);
}

.blog-meta-info h3 a:hover {
  color: var(--primary);
}

.read-more-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.read-more-link:hover {
  color: var(--primary-dark);
  gap: 8px;
}

/* Blog Detail Page Layout */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
}

.blog-article-content {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.blog-article-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

.blog-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.blog-article-body p {
  margin-bottom: 24px;
}

.blog-article-body h4 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  color: var(--primary-dark);
}

.blog-article-body blockquote {
  border-left: 4px solid var(--secondary);
  background-color: var(--secondary-bg);
  padding: 20px 30px;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--secondary-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-article-body ul, .blog-article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.blog-article-body li {
  margin-bottom: 8px;
}

/* Sidebar Widgets */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-bg);
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.author-widget {
  text-align: center;
}

.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  margin: 0 auto 20px;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border: 3px solid var(--primary-light);
}

.author-widget h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.author-widget .role {
  color: var(--secondary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
}

.author-widget p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Read Next Section */
.read-next-section {
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.read-next-section h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.read-next-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.next-post-card {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.next-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.next-post-img {
  width: 200px;
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
}

.next-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.next-post-card:hover .next-post-img img {
  transform: scale(1.05);
}

.next-post-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.next-post-info .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--secondary-dark);
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.next-post-info h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.next-post-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-article-content {
    padding: 20px;
  }
  .blog-article-content img {
    height: 250px;
  }
  .next-post-card {
    flex-direction: column;
  }
  .next-post-img {
    width: 100%;
    height: 180px;
  }
}

