/* =================== RESET & BASE =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Colors - Red and Yellow/Gold */
  --primary-red: #C41E3A;
  --primary-red-dark: #8B1A2E;
  --primary-red-light: #D9455D;
  --primary-yellow: #FFD700;
  --primary-yellow-dark: #FFC700;
  --primary-yellow-light: #FFE55C;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray-100: #F7F7F7;
  --gray-200: #E5E5E5;
  --gray-300: #CCCCCC;
  --gray-700: #4A4A4A;
  --gray-800: #333333;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.8;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
  border: 2px solid var(--primary-red);
}

.btn-primary:hover {
  background: var(--primary-red-dark);
  border-color: var(--primary-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-red);
}

.btn-outline {
  background: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-outline:hover {
  background: var(--primary-red);
  color: var(--white);
}

/* =================== LOADER =================== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-yellow);
  margin-bottom: 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--primary-yellow);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.no-scroll {
  overflow: hidden;
}

/* =================== HEADER / NAVIGATION =================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  flex-shrink: 0;
}

.logo a {
  display: block;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: var(--transition);
}

.logo-img:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  color: var(--gray-800);
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding: 8px 0;
  display: block;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.2);
}

.lang-switch:hover {
  background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--primary-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.lang-switch i {
  font-size: 16px;
}

.lang-text {
  font-weight: 700;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary-red);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .logo-img {
    height: 40px;
    max-width: 140px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    padding: 40px 20px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    gap: 0;
    align-items: flex-start;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-menu a {
    padding: 16px 12px;
    width: 100%;
    font-size: 17px;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover {
    background: var(--gray-100);
    color: var(--primary-red);
  }
  
  .menu-toggle {
    display: flex;
  }

  .lang-switch {
    padding: 8px 16px;
    font-size: 14px;
  }

  .lang-switch i {
    font-size: 14px;
  }
}

/* =================== HERO VIDEO SECTION =================== */
.hero-video {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.5) 0%, rgba(139, 26, 46, 0.5) 50%, rgba(255, 215, 0, 0.5) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 32px;
  color: var(--white);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Video Mute Toggle Button */
.video-mute-toggle {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background: rgba(196, 30, 58, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-mute-toggle:hover {
  background: var(--primary-red);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.video-mute-toggle i {
  color: white;
  font-size: 20px;
  transition: all 0.3s ease;
}

.video-mute-toggle.muted i::before {
  content: "\f6a9"; /* fa-volume-mute */
}

@media (max-width: 768px) {
  .video-mute-toggle {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .video-mute-toggle i {
    font-size: 18px;
  }
}

/* =================== ABOUT SNIPPET SECTION =================== */
.about-snippet {
  padding: 100px 0;
  background: var(--white);
}

.about-snippet-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-snippet-text h2 {
  font-size: 48px;
  color: var(--primary-red);
  margin-bottom: 24px;
}

.about-snippet-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 32px;
}

.about-snippet-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  height: 500px;
}

/* About Image Carousel */
.about-image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.about-carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.about-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-snippet-image:hover .about-carousel-slide.active img {
  transform: scale(1.05);
}

.about-carousel-slide img {
  transition: transform 0.5s;
}

/* About Carousel Dots */
.about-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.about-carousel-dots .about-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.about-carousel-dots .about-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.about-carousel-dots .about-dot.active {
  background: var(--primary-yellow);
  width: 30px;
  border-radius: 5px;
  border-color: var(--primary-yellow);
}

/* =================== PRODUCTS PREVIEW =================== */
.products-preview {
  padding: 100px 0;
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 48px;
  color: var(--primary-red);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-700);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-yellow);
  color: var(--primary-red);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 22px;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.product-info p {
  color: var(--gray-700);
  font-size: 16px;
}

/* =================== PAGE HEADER =================== */
.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 20px;
  opacity: 0.9;
}

/* =================== COMPANY OVERVIEW =================== */
.company-overview {
  padding: 80px 0;
  background: var(--white);
}

.overview-content p {
  font-size: 20px;
  line-height: 1.9;
  color: var(--gray-700);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.overview-content .closing-text {
  margin-top: 40px;
}

.standards-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
  background: var(--gray-100);
  border-radius: 16px;
  border-right: 5px solid var(--primary-red);
}

.standards-section h3 {
  font-size: 24px;
  color: var(--primary-red);
  margin-bottom: 24px;
  text-align: right;
}

.standards-list {
  list-style: none;
}

.standards-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-size: 18px;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
}

.standards-list li:last-child {
  border-bottom: none;
}

.standards-list li i {
  color: var(--primary-yellow);
  font-size: 24px;
  flex-shrink: 0;
}

/* =================== COMPANY OVERVIEW =================== */
.company-overview {
  padding: 80px 0;
  background: var(--white);
}

.overview-content p {
  font-size: 20px;
  line-height: 1.9;
  color: var(--gray-700);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* =================== QUALITY STANDARDS =================== */
.quality-standards {
  padding: 100px 0;
  background: var(--gray-100);
}

/* Quality Carousel Wrapper */
.quality-carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.quality-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.quality-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.quality-slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  opacity: 1;
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.quality-slide-image {
  height: 500px;
  overflow: hidden;
}

.quality-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-slide-content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: right;
}

.quality-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-yellow) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.quality-icon i {
  font-size: 36px;
  color: var(--white);
}

.quality-slide-content h3 {
  font-size: 28px;
  color: var(--gray-800);
  margin-bottom: 20px;
  line-height: 1.4;
}

.quality-slide-content p {
  color: var(--gray-700);
  line-height: 1.9;
  font-size: 18px;
}

/* Carousel Dots */
.quality-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.quality-carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: var(--gray-300);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quality-carousel-dots .dot:hover {
  background: var(--primary-red);
  transform: scale(1.2);
}

.quality-carousel-dots .dot.active {
  background: var(--primary-red);
  width: 40px;
  border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .quality-slide.active {
    grid-template-columns: 1fr;
  }

  .quality-slide-image {
    height: 300px;
  }

  .quality-slide-content {
    padding: 40px 30px;
    text-align: center;
    align-items: center;
  }

  .quality-slide-content h3 {
    font-size: 22px;
  }

  .quality-slide-content p {
    font-size: 16px;
  }

  .quality-icon {
    width: 70px;
    height: 70px;
  }

  .quality-icon i {
    font-size: 30px;
  }
}

/* Old Grid Styles (kept for backward compatibility if needed) */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.quality-item {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.quality-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.quality-image {
  height: 250px;
  overflow: hidden;
}

.quality-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.quality-item:hover .quality-image img {
  transform: scale(1.1);
}

.quality-content {
  padding: 32px;
  text-align: center;
}

.quality-content h3 {
  font-size: 22px;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.quality-content p {
  color: var(--gray-700);
  line-height: 1.7;
}

/* =================== VISION & MISSION =================== */
.vision-mission {
  padding: 100px 0;
  background: var(--white);
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.vm-card {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.vm-card:hover {
  transform: translateY(-8px);
}

.vm-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.vm-icon i {
  font-size: 36px;
  color: var(--primary-red);
}

.vm-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.vm-card p {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.95;
}

/* =================== PRODUCTS PAGE =================== */
.products-section {
  padding: 80px 0;
  background: var(--white);
}

.category-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.tab-btn {
  padding: 12px 28px;
  background: var(--white);
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

.products-category {
  margin-bottom: 80px;
}

.category-title {
  font-size: 40px;
  color: var(--primary-red);
  margin-bottom: 40px;
  text-align: center;
}

.products-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.product-detailed-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-detailed-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-yellow);
}

.product-detailed-image {
  height: 280px;
  overflow: hidden;
  background: var(--gray-100);
}

.product-detailed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-detailed-card:hover .product-detailed-image img {
  transform: scale(1.1);
}

.product-detailed-content {
  padding: 24px;
}

.product-detailed-content h3 {
  font-size: 20px;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.product-weight {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}

.product-description {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
}

/* =================== PRODUCTS CAROUSEL =================== */
.products-carousel-section {
  padding: 100px 0;
  background: var(--gray-100);
}

.productsSwiper {
  padding: 40px 20px 60px;
}

.product-carousel-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-carousel-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.product-carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-carousel-card:hover .product-carousel-image img {
  transform: scale(1.1);
}

.product-carousel-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-carousel-content h3 {
  font-size: 20px;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-carousel-content .product-weight {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}

.product-carousel-content .product-weight-en {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.product-carousel-content .product-description {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.6;
}

/* Swiper Custom Styling */
.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  border-radius: 50%;
  color: var(--white) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-red-dark);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--gray-300);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--primary-red);
  width: 30px;
  border-radius: 6px;
}

/* =================== FOOTER =================== */
footer {
  background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--black) 100%);
  color: var(--white);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-yellow) 50%, var(--primary-red) 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
  padding: 0 20px;
}

.footer-section h3 {
  font-size: 26px;
  margin-bottom: 24px;
  color: var(--primary-yellow);
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-yellow);
  border-radius: 2px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  transition: var(--transition);
  display: inline-block;
  position: relative;
  padding-right: 20px;
}

.footer-section a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-yellow);
  padding-right: 25px;
}

.footer-section a:hover::before {
  right: -5px;
}

.footer-contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-icon i {
  color: var(--primary-yellow);
  font-size: 18px;
}

.footer-contact-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
}

.footer-social a::before {
  display: none;
}

.footer-social a:hover {
  background: var(--primary-yellow);
  transform: translateY(-4px);
  padding: 0;
}

.footer-social a i {
  color: var(--primary-yellow);
  font-size: 20px;
  transition: var(--transition);
}

.footer-social a:hover i {
  color: var(--primary-red-dark);
}

.footer-bottom {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 15px;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .hero-buttons .btn {
    width: 100%;
  }
  
  .about-snippet-content {
    grid-template-columns: 1fr;
  }
  
  .section-header h2,
  .about-snippet-text h2 {
    font-size: 32px;
  }

  .section-header p {
    font-size: 16px;
  }
  
  .page-header h1 {
    font-size: 36px;
  }

  .page-header p {
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .standards-section {
    padding: 24px;
  }

  .standards-section h3 {
    font-size: 20px;
  }

  .standards-list li {
    font-size: 16px;
  }

  .category-tabs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tab-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Latest News Section on Homepage */
.latest-news-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.latest-news-section .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.latest-news-section .news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.latest-news-section .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(196, 30, 58, 0.15);
}

.latest-news-section .news-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.latest-news-section .news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.latest-news-section .news-card:hover .news-card-image img {
  transform: scale(1.1);
}

.latest-news-section .news-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.latest-news-section .news-card-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--primary-red);
  margin-bottom: 10px;
  width: fit-content;
}

.latest-news-section .news-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-news-section .news-card-excerpt {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-news-section .news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(196, 30, 58, 0.1);
}

.latest-news-section .news-card-date {
  font-size: 0.85rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 5px;
}

.latest-news-section .news-card-link {
  color: var(--primary-red);
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
}

.latest-news-section .news-card-link:hover {
  color: var(--primary-yellow);
  gap: 10px;
}

@media (max-width: 992px) {
  .latest-news-section .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .latest-news-section .news-grid {
    grid-template-columns: 1fr;
  }
}

