/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
  --primary-color: #C0272D;
  --primary-hover: #a01f24;
  --primary-light: rgba(192, 39, 45, 0.1);
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --text-main: #333333;
  --text-muted: #666666;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(192, 39, 45, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--dark-bg);
}

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

.highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(90deg, var(--primary-light), transparent);
  z-index: -1;
  border-radius: 4px;
}

/* ==========================================================================
   Utilities & Global Components
   ========================================================================== */
.section-pad {
  padding: 80px 0;
}
@media (min-width: 992px) {
  .section-pad {
    padding: 120px 0;
  }
}

.bg-light-gray {
  background-color: var(--light-bg);
  background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
  background-size: 20px 20px;
}

.title-line {
  height: 4px;
  width: 60px;
  background-color: var(--primary-color);
  margin: 15px auto 20px;
  border-radius: 2px;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(192, 39, 45, 0.3);
}
.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 39, 45, 0.2);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: var(--transition);
}
.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 39, 45, 0.2);
}

.btn-light-custom {
  background-color: white;
  color: var(--primary-color);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-light-custom:hover {
  background-color: #f8f9fa;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Top Bar & Navbar
   ========================================================================== */
.top-bar {
  background-color: var(--dark-bg);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar a {
  color: rgba(255, 255, 255, 0.8);
  margin-right: 20px;
}
.top-bar a:hover {
  color: white;
}
.top-bar i {
  color: var(--primary-color);
  margin-right: 6px;
}
.top-bar .social-links a {
  margin-right: 0;
  margin-left: 15px;
  font-size: 1rem;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  padding: 15px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 10px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}
.brand-icon {
  width: 44px;
  height: 44px;
  transition: transform 0.3s ease;
}
.navbar-brand:hover .brand-icon {
  transform: scale(1.05) rotate(5deg);
}
.brand-text {
  margin-left: 12px;
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark-bg);
  line-height: 1.2;
}
.brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary-color);
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  padding: 10px 15px !important;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: calc(100% - 30px);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.lang-switcher .btn {
  background: var(--light-bg);
  border: 1px solid #eaeaea;
  border-radius: 20px;
  font-size: 0.9rem;
  padding: 6px 16px;
  color: var(--text-main);
  font-weight: 500;
}
.lang-switcher .dropdown-item.active {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f4f6f9 100%);
  position: relative;
  overflow: hidden;
}
@media (min-width: 992px) {
  .hero-section {
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
  }
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(192, 39, 45, 0.2);
}

.hero-section h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 4rem;
  }
}

.hero-section .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 90%;
}

.hero-stats {
  display: flex;
  gap: 30px;
  border-top: 1px solid #eaeaea;
  padding-top: 30px;
}
.hero-stat .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* Hero Graphic Animations */
.hero-graphic {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  animation: float 6s ease-in-out infinite alternate;
}
.orb-1 {
  width: 250px;
  height: 250px;
  background: rgba(192, 39, 45, 0.2);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}
.orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(45, 122, 58, 0.15); /* Greenish accent */
  bottom: 10%;
  left: 10%;
  animation-delay: -3s;
}
.glass-panel {
  position: relative;
  z-index: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: float 8s ease-in-out infinite alternate;
}
@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-20px); }
}

/* ==========================================================================
   Categories
   ========================================================================== */
.cat-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
}
.cat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.cat-card.style-human { border-top-color: #C0272D; }
.cat-card.style-human .cat-icon { background: rgba(192, 39, 45, 0.1); color: #C0272D; }

.cat-card.style-animal { border-top-color: #2D7A3A; }
.cat-card.style-animal .cat-icon { background: rgba(45, 122, 58, 0.1); color: #2D7A3A; }

.cat-card.style-food { border-top-color: #e67e22; }
.cat-card.style-food .cat-icon { background: rgba(230, 126, 34, 0.1); color: #e67e22; }

.cat-card.style-custom { border-top-color: #8e44ad; }
.cat-card.style-custom .cat-icon { background: rgba(142, 68, 173, 0.1); color: #8e44ad; }

.cat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.cat-card:hover .cat-icon {
  transform: scale(1.1) rotate(5deg);
}

.cat-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cat-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Products
   ========================================================================== */
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid #f0f0f0;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(192, 39, 45, 0.2);
}

.product-img-wrap {
  height: 180px;
  background: var(--light-bg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-no-img {
  font-size: 4rem;
  color: #dcdcdc;
  transition: var(--transition);
}
.product-card:hover .product-no-img {
  transform: scale(1.1);
  color: rgba(192, 39, 45, 0.2);
}

.product-cat-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  color: white;
  z-index: 2;
}
.badge-human { background-color: var(--primary-color); }

.product-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dark-bg);
}
.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}
/* Nav Tabs for Products */
.nav-pills .nav-link {
  color: var(--text-main);
  font-weight: 600;
  border: 1px solid #eaeaea;
  transition: var(--transition);
}
.nav-pills .nav-link:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}
.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(192, 39, 45, 0.3);
}

.btn-card-detail {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-card-detail i {
  transition: transform 0.3s ease;
}
.btn-card-detail:hover i {
  transform: translateX(5px);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.relative-z {
  position: relative;
  z-index: 2;
}
.bg-shape-1 {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: var(--primary-light);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.divider-red {
  width: 50px;
  height: 4px;
  background: var(--primary-color);
  margin-bottom: 20px;
  border-radius: 2px;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: var(--transition);
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  border-color: rgba(192, 39, 45, 0.2);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.glass-card h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.glass-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Certifications Section Custom UI */
.cert-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(192, 39, 45, 0.1);
}
.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(192,39,45,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}
.cert-card:hover::before {
  opacity: 1;
}
.cert-icon i {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cert-card:hover .cert-icon i {
  transform: scale(1.2) rotate(10deg);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-strip {
  background: linear-gradient(135deg, var(--primary-color) 0%, #8a171a 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--dark-bg);
  padding: 80px 0 0;
  color: #fff;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
.footer-brand:hover svg rect {
  fill-opacity: 0.3;
}

/* ==========================================================================
   Floating Action Button (WhatsApp)
   ========================================================================== */
.wa-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.wa-fab:hover {
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 60px 0;
  }
  .hero-stats {
    justify-content: center;
  }
  .glass-card {
    padding: 15px;
  }
}
