/* ========================================
   FervorBlue Biotech - Main Styles
   Apple-inspired minimalist design
   ======================================== */

/* Lazy loading styles */
img[data-src] {
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: 100%;
  height: auto;
}

img[data-src].loaded {
  opacity: 1;
}

/* Product images optimization */
.product-image img {
  max-width: 200px;
  max-height: 200px;
  object-fit: cover;
  max-width: 90%;
  max-height: 90%;
}

/* R&D and Production images optimization */
.rd-showcase img,
.production-visual img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

/* CSS Variables */
:root {
  --primary: #0066CC;
  --primary-light: #00A0E9;
  --primary-dark: #004C99;
  --accent: #F26522;
  --accent-light: #FF8C5A;
  --neutral-50: #F5F7FA;
  --neutral-100: #E5E7EB;
  --neutral-200: #D1D5DB;
  --neutral-300: #9CA3AF;
  --neutral-400: #86868B;
  --neutral-500: #6B7280;
  --neutral-600: #4B5563;
  --neutral-700: #374151;
  --neutral-800: #1D1D1F;
  --neutral-900: #111111;
  --white: #FFFFFF;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--neutral-800);
  line-height: 1.6;
  background: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 7rem;
  width: auto;
  max-width: 280px;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-600);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--neutral-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-600);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle:hover {
  color: var(--primary);
  background: var(--neutral-50);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--neutral-600);
  transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: auto;
  height: auto;
  padding: 6rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    min-height: 80vh;
    padding: 5rem 0;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 70vh;
    padding: 4rem 0;
  }
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.hero-subtitle {
  font-size: 3rem !important;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-title > span {
  display: block;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title span.hero-highlight {
  display: inline;
  opacity: 1;
  animation: none;
}

.hero-title span:first-child {
  animation-delay: 0.3s;
}

.hero-title span:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-title span:last-child {
  animation-delay: 0.5s;
}

.hero-highlight {
  color: var(--primary);
  font-size: 3rem !important;
  margin-top: 0.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--neutral-600);
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.6s;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.8s;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--neutral-400);
  font-size: 0.875rem;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
  animation-delay: 1.2s;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

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

.btn-secondary {
  background: var(--accent);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-full {
  width: 100%;
}

/* ========================================
   Section Styles
   ======================================== */
.section {
  padding: 0.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 1rem;
}

.section-label {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(0, 102, 204, 0.1);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem !important;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-description {
  font-size: 1.125rem;
  color: var(--neutral-600);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--white);
}

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

.stat-card {
  background: var(--neutral-50);
  padding: 1rem;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(0, 102, 204, 0.05);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.stat-number {
  font-size: 3rem !important;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

/* ========================================
   ODM Section
   ======================================== */
.odm {
  background: var(--neutral-50);
}

.clients-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.clients-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.clients-section {
  margin-bottom: 1.5rem;
}

.clients-section:last-child {
  margin-bottom: 0;
}

.clients-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-400);
  margin-bottom: 0.75rem;
  text-align: center;
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.client-tag {
  padding: 0.5rem 1rem;
  background: var(--neutral-100);
  color: var(--neutral-700);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.client-tag:hover {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary);
}

.clients-label-large {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.client-tags-large {
  gap: 0.75rem;
}

.client-tag-large {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.capabilities h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.capability-card {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.capability-card:hover {
  box-shadow: var(--shadow);
}

.capability-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.capability-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--neutral-900);
}

.capability-card p {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

/* Product Family Section */
.product-family-section {
  margin-top: 3rem;
}

.product-family-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.product-main-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--neutral-900);
}

.product-family-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.product-family-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.product-category {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.product-category h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.sub-category {
  margin-bottom: 1rem;
}

.sub-category h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
}

.product-category ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-category li {
  font-size: 0.875rem;
  color: var(--neutral-600);
  padding-left: 1rem;
  position: relative;
}

.product-category li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ========================================
   R&D Section
   ======================================== */
.rd {
  background: var(--neutral-50);
}

.rd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.rd-stat {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 1rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.rd-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1024px) {
  .rd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
    grid-template-columns: repeat(2, 1fr);
  }
}

.rd-stat-number {
  font-size: 3rem !important;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.rd-stat-label {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.rd-content {
  display: grid;
  gap: 2rem;
}

.rd-images {
  display: grid;
  gap: 0.5rem;
}

.rd-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.rd-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.rd-facilities h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.facility-list {
  display: grid;
  gap: 0.75rem;
}

.facility-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.facility-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 102, 204, 0.1);
  border-radius: var(--radius);
  color: var(--primary);
  flex-shrink: 0;
}

.facility-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
}

/* ========================================
   Production Section
   ======================================== */
.production {
  background: var(--white);
}

.production-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.production-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.production-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: transparent;
}

.prod-stat {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 1rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.prod-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1024px) {
  .production-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: transparent;
  border: none;
  padding: 0;
    grid-template-columns: repeat(2, 1fr);
  }
}

.prod-stat-number {
  font-size: 3rem !important;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.prod-stat-label {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.production-bases {
  display: grid;
  gap: 0.5rem;
}

.bases-card,
.lines-card,
.honors-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.honors-card {
  background: transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1rem;
  border-radius: 20px;
}

.lines-card {
  background: transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1rem;
  border-radius: 20px;
}

.bases-card h3,
.lines-card h3,
.honors-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

.base-item,
.line-item,
.honor-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--neutral-200);
}

.base-item:last-child,
.line-item:last-child,
.honor-item:last-child {
  border-bottom: none;
}

.base-icon,
.line-icon,
.honor-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.honor-icon {
  width: 2rem;
  height: 2rem;
}

.honor-title {
  font-weight: 500;
  color: var(--neutral-800);
}

.base-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-900);
}

.base-info p {
  font-size: 0.75rem;
  color: var(--neutral-500);
}

.line-item span {
  font-size: 0.875rem;
  color: var(--neutral-700);
}

/* ========================================
   MAWDOL Section
   ======================================== */
.mawdol {
  background: var(--white);
}

.mawdol-header {
  display: grid;
  gap: 2rem;
  margin-bottom: 1rem;
}

.mawdol-intro {
  text-align: center;
}

.mawdol-logo {
  margin: 1rem 0;
}

.mawdol-logo img {
  height: 4rem;
  width: auto;
  margin: 0 auto;
}

.mawdol-subtitle {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.mawdol-description {
  color: var(--neutral-600);
  max-width: 600px;
  margin: 0 auto;
}

.mawdol-mv {
  display: grid;
  gap: 0.5rem;
}

.mv-card {
  background: transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.mv-card:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-4px);
}

.mv-card-primary {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.mv-card-primary:hover {
  background: rgba(59, 130, 246, 0.25);
}

.mv-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--neutral-900);
}

.mv-card p {
  font-size: 0.875rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

.products h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

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

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .honors-section {
    grid-template-columns: 1fr;
  }
}

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

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

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

.product-card {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.product-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 90%;
  max-height: 90%;
  padding: 0.25rem;
  transition: transform 0.5s ease;
}

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

.product-info {
  padding: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.product-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0;
}

/* ========================================
   News Section
   ======================================== */
.news {
  background: var(--neutral-50);
}

.news-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.news-grid {
  display: grid;
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.news-card:hover {
  box-shadow: var(--shadow);
}

.news-image {
  aspect-ratio: 21/9;
  /* max-height: 120px; */
  overflow: hidden;
}

.news-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.news-placeholder-2 {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.news-placeholder-3 {
  background: linear-gradient(135deg, var(--neutral-400), var(--neutral-500));
}

.news-content {
  padding: 1rem;
}

.news-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.news-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(0, 102, 204, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.news-date {
  font-size: 0.875rem;
  color: var(--neutral-400);
}

.news-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.875rem;
  color: var(--neutral-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.news-link:hover {
  text-decoration: underline;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-form-wrapper {
  background: transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2rem;
  border-radius: 24px;
}

.contact-form-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--neutral-900);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  gap: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: all 0.2s;
  background: var(--white);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-card {
  background: var(--neutral-50);
  padding: 1rem;
  border-radius: var(--radius-xl);
}

.info-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-item {
  display: flex;
  gap: 0.5rem;
}

.info-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.25rem;
}

.info-item p {
  font-size: 0.875rem;
  color: var(--neutral-600);
}

.qr-codes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.qr-card {
  background: var(--neutral-50);
  padding: 1rem;
  border-radius: var(--radius-xl);
  text-align: center;
}

.qr-card p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  margin-bottom: 0.75rem;
}

.qr-card img {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: var(--radius);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--neutral-900);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-company {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.footer-parent {
  font-size: 0.875rem;
  color: var(--neutral-400);
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--primary-light);
  font-weight: 500;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--neutral-400);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--neutral-800);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.admin-link {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.admin-link:hover {
  color: var(--white);
}

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem !important;
  }
  
  .hero-highlight {
    font-size: 3rem !important;
  }
  
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
  
  .section-title {
    font-size: 3rem !important;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .capability-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .product-categories {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  
  .rd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
    grid-template-columns: repeat(4, 1fr);
  }
  
  .production-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: transparent;
  border: none;
  padding: 0;
    grid-template-columns: repeat(4, 1fr);
  }
  
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  
  .nav-toggle {
    display: none;
  }
  
  .section {
  padding: 0.5rem 0;
  padding: 0.5rem 0;
    padding: 6rem 0;
  }
  
  .hero-title {
    font-size: 3rem !important;
  }
  
  .hero-highlight {
    font-size: 4rem;
  }
  
  .mawdol-header {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .mawdol-intro {
    text-align: left;
  }
  
  .mawdol-logo img {
    margin: 0;
  }
  
  .mawdol-description {
    margin: 0;
  }
  
  .rd-content {
    grid-template-columns: 1fr 2fr;
  }
  
  .production-bases {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-highlight {
    font-size: 4.5rem;
  }
  
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .news-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
  }
}

/* Mobile Menu */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--neutral-100);
}

.nav-menu.active .nav-link {
  padding: 0.75rem 1rem;
}
/* Product Showcase - New Design */
.product-intro {
  text-align: center;
  color: var(--neutral-600);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.product-showcase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-main-category {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--neutral-100);
}

.category-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--neutral-900);
}

.category-badge {
  background: var(--primary);
  color: var(--white);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}

.product-sub-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.product-sub-grid .product-type-card {
  flex: 1;
  min-width: 280px;
  max-width: calc(50% - 0.75rem);
}

.product-sub-grid.single .product-type-card {
  max-width: 100%;
}

@media (max-width: 768px) {
  .product-sub-grid {
    flex-direction: column;
  }
  .product-sub-grid .product-type-card {
    max-width: 100%;
  }
}

.product-type-card {
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.product-type-card.full-width {
  grid-column: 1 / -1;
}

.type-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.type-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.product-type-card h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  justify-content: space-between;
}

.product-list.horizontal {
  justify-content: space-between;
}

.product-list li {
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
  flex: 1 1 auto;
  min-width: 120px;
  text-align: center;
}

.product-sub-grid.single {
  grid-template-columns: 1fr;
}

.product-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--white);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  margin-right: 0.25rem;
}

.product-tag.highlight {
  background: var(--accent);
}

.product-tag.safe {
  background: #10B981;
}

.product-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-tag {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
}
.about { padding-bottom: 0 !important; }
.odm { padding-top: 0 !important; }
.section { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
/* MAWDOL Section Fixes */

/* Add top padding to separate from previous section */
.mawdol {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* 6 products in one row */
.mawdol .product-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 1rem !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}

/* Product card adjustments */
.mawdol .product-card {
  max-width: 200px !important;
}

/* Product image display fix */
.mawdol .product-image {
  aspect-ratio: auto !important;
  height: 180px !important;
  padding: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mawdol .product-image img {
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  width: auto !important;
  height: auto !important;
}

/* Responsive - 3 columns on tablet, 2 on mobile */
@media (max-width: 1200px) {
  .mawdol .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .mawdol .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* ========================================
/* ========================================
   UNIFIED NEWS CARDS - FIXED HEIGHT
   ======================================== */

/* News grid - equal height cards */
.news-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 1rem !important;
  align-items: stretch !important;
}

/* News card - flex column for equal height */
.news-card {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.news-card:hover {
  background: rgba(255, 255, 255, 0.7) !important;
  transform: translateY(-2px) !important;
}

/* News content - flex column to push link to bottom */
.news-content {
  padding: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

/* News title */
.news-title {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.4 !important;
}

.news-title a {
  color: var(--primary) !important;
  text-decoration: none !important;
}

/* News excerpt - limit lines for consistency */
.news-excerpt {
  font-size: 0.9rem !important;
  color: var(--neutral-600) !important;
  line-height: 1.5 !important;
  margin-bottom: 1rem !important;
  flex: 1 !important;
}

/* News link - always at bottom */
.news-link {
  color: var(--primary) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  margin-top: auto !important;
  display: inline-block !important;
}

/* Article card variant */
.news-card.article-card {
  border-left: 3px solid var(--primary) !important;
}

.news-card.article-card .news-badge {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
}

/* Responsive */
@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

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

@media (max-width: 480px) {
  .news-grid {
    grid-template-columns: 1fr !important;
  }
}
/* News header centered override */
.news-header {
  text-align: center !important;
  align-items: center !important;
}

.news-header .btn {
  margin-top: 1rem !important;
}

/* Hide separate seo-articles section */
.seo-articles {
  display: none !important;
}
.news-image { display: none !important; }
