
:root {
  --ebb: #ffffff;
  --cannon-pink: #914876;
  --everglade: #224e2d;
  --olive-green: #99b24c;
  --text-dark: #1e293b;
  /* --gradient-primary: linear-gradient(135deg, #914876 0%, #b45a8a 50%, #914876 100%); */
  --gradient-secondary: linear-gradient(135deg, #224e2d 0%, #2d6640 50%, #224e2d 100%);
  --gradient-accent: linear-gradient(135deg, #99b24c 0%, #a8c25a 50%, #99b24c 100%);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Premium Navbar (Same as Home/About) */
.custom-navbar {
  background: black;
  /* background: var(--gradient-primary); */
  backdrop-filter: blur(20px);
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.custom-navbar.scrolled {
  background: black;
  /* background: rgba(145, 72, 118, 0.95); */
  backdrop-filter: blur(30px);
}

.logo {
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.navbar-brand {
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.nav-link {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
  transition: left 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
  left: 0;
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-weight: 500;
  border-radius: 8px;
  margin: 4px 8px;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #914876 0%, #b45a8a 50%, #914876 100%);
  color: white;
  transform: translateX(8px);
}

.map-container {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* Enhanced Products Hero Section */
.products-hero {
  height: 60vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0.6) contrast(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(145, 72, 118, 0.4) 0%, rgba(34, 78, 45, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  z-index: 3;
  color: white;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #f8fafc;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

.category-badge {
  display: inline-block;
  margin-top: 1rem;
}

.badge-text {
  background: var(--gradient-accent);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 16px rgba(153, 178, 76, 0.3);
}

/* Section Backgrounds */
.section-gradient-1 {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.section-gradient-2 {
  background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 50%, #e6f2ff 100%);
}

.section-gradient-3 {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #e5e7eb 100%);
}

/* Search Section */
.search-section {
  border-bottom: 1px solid rgba(145, 72, 118, 0.1);
}

.search-box {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.search-box input {
  padding: 15px 50px 15px 20px;
  border: 2px solid rgba(145, 72, 118, 0.1);
  border-radius: 50px;
  background: white;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-box input:focus {
  outline: none;
  border-color: var(--cannon-pink);
  box-shadow: 0 0 0 3px rgba(145, 72, 118, 0.1);
  transform: translateY(-2px);
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cannon-pink);
  font-size: 1.1rem;
  pointer-events: none;
}

/* Premium Product Cards */
.products-grid {
  padding: 100px 0;
}

.product-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.product-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  border: 1px solid rgba(145, 72, 118, 0.1);
}

.product-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(145, 72, 118, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
  z-index: 1;
}

.product-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(25%, 25%);
}

.product-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(145, 72, 118, 0.2);
  border-color: rgba(145, 72, 118, 0.3);
}

.product-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 1.5rem;
  transition: background 0.3s ease;
}

.product-card:hover .product-image {
  background: var(--gradient-primary);
}

.product-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  transition: all 0.4s ease;
  z-index: 2;
  position: relative;
}

.product-card:hover .product-img {
  transform: scale(1.4);
  /* filter: brightness(1.1); */
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(145, 72, 118, 0.9); */
  /* backdrop-filter: blur(10px); */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.overlay-content {
  display: flex;
  gap: 1rem;
}

.btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: white;
  color: var(--cannon-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-icon:hover {
  background: var(--gradient-accent);
  color: white;
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 4;
}

.product-info {
  padding: 2rem;
  z-index: 2;
  position: relative;
}

.product-category {
  color: var(--olive-green);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.product-title {
  color: var(--cannon-pink);
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: var(--everglade);
}

.product-description {
  color: var(--text-dark);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  background: rgba(153, 178, 76, 0.1);
  color: var(--olive-green);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.product-card:hover .feature-tag {
  background: var(--gradient-accent);
  color: white;
}

/* Company Info Section */
.company-info {
  padding: 100px 0;
}

.info-content {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(145, 72, 118, 0.1);
}

.info-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(145, 72, 118, 0.15);
}

.info-content h2 {
  color: var(--cannon-pink);
  margin-bottom: 1.5rem;
}

.feature-list {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.feature-item i {
  color: var(--olive-green);
  font-size: 1.2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-item span {
  font-weight: 500;
  color: var(--text-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(34, 78, 45, 0.1);
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(34, 78, 45, 0.15);
  background: linear-gradient(135deg, rgba(34, 78, 45, 0.02) 0%, rgba(153, 178, 76, 0.02) 100%);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--everglade);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--cannon-pink);
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Premium Footer (Same as Home/About) */
.footer-section {
  background: black;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
}

.footer-logo {
  max-width: 120px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--gradient-accent);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 16px rgba(153, 178, 76, 0.3);
}

/* 3D Canvas */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Animation Classes */
.fade-in-left,
.fade-in-right,
.fade-in-up {
  opacity: 0;
  transition: all 0.8s ease;
}

.fade-in-left {
  transform: translateX(-30px);
}

.fade-in-right {
  transform: translateX(30px);
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-left.animate,
.fade-in-right.animate,
.fade-in-up.animate {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Color Classes */
.cannon-pink-text {
  color: var(--cannon-pink);
}

.everglade-text {
  color: var(--everglade);
}

.olive-green-text {
  color: var(--olive-green);
}

/* Responsive Design */
@media (max-width: 768px) {
  .products-hero {
    height: 50vh;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .filter-tabs {
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .product-card,
  .info-content {
    margin: 1rem 0;
  }
  
  .product-info {
    padding: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1.5rem;
  }
  
  .company-info,
  .products-grid {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .filter-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 100%;
    max-width: 200px;
  }
  
  .product-img {
    height: 150px;
  }
  
  .overlay-content {
    gap: 0.5rem;
  }
  
  .btn-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}



/* 1. Hero Section - Mobile Heights */
@media (max-width: 768px) {
  .products-hero {
    height: 50vh !important;
    min-height: 350px !important;
    max-height: 450px;
  }
  
  .bg-video {
    height: 50vh !important;
    min-height: 350px !important;
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    margin-bottom: 0.75rem !important;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem) !important;
    margin-bottom: 1rem !important;
  }
  
  .badge-text {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 576px) {
  .products-hero {
    height: 45vh !important;
    min-height: 300px !important;
  }
  
  .bg-video {
    height: 45vh !important;
    min-height: 300px !important;
  }
  
  .hero-title {
    font-size: 1.5rem !important;
  }
  
  .hero-title i {
    display: block;
    margin-bottom: 0.5rem;
  }
}

/* 2. Search Section - Mobile */
@media (max-width: 768px) {
  .search-section {
    padding: 1rem 0 !important;
  }
  
  .search-box {
    max-width: 100%;
  }
  
  .search-box input {
    padding: 12px 45px 12px 15px;
    font-size: 0.95rem;
  }
}

/* 3. Products Grid - Mobile Spacing */
@media (max-width: 992px) {
  .products-grid {
    padding: 60px 0 !important;
  }
}

@media (max-width: 768px) {
  .products-grid {
    padding: 40px 0 !important;
  }
  
  .products-grid .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .row.g-4 {
    gap: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .products-grid {
    padding: 30px 0 !important;
  }
  
  .row.g-4 {
    gap: 1rem !important;
  }
}

/* 4. Product Cards - Mobile Optimization */
@media (max-width: 768px) {
  .product-card {
    margin-bottom: 1rem;
  }
  
  .product-image {
    padding: 1rem !important;
  }
  
  .product-img {
    height: 140px !important;
  }
  
  .product-info {
    padding: 1.25rem !important;
  }
  
  .product-category {
    font-size: 0.8rem;
  }
  
  .product-title {
    font-size: 1.125rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .product-description {
    font-size: 0.875rem;
    margin-bottom: 1rem !important;
  }
  
  .product-features {
    gap: 0.375rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 3px 6px;
  }
  
  .product-badge {
    top: 10px;
    right: 10px;
  }
  
  .product-badge .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 576px) {
  .product-img {
    height: 120px !important;
  }
  
  .product-info {
    padding: 1rem !important;
  }
  
  .btn-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }
  
  .overlay-content {
    gap: 0.5rem !important;
  }
}

/* 5. Company Info Section - Mobile */
@media (max-width: 992px) {
  .company-info {
    padding: 60px 0 !important;
  }
}

@media (max-width: 768px) {
  .company-info {
    padding: 40px 0 !important;
  }
  
  .info-content {
    padding: 1.5rem !important;
    margin-bottom: 2rem;
  }
  
  .info-content h2 {
    font-size: 1.5rem !important;
  }
  
  .info-content .lead {
    font-size: 1rem !important;
  }
  
  .feature-list {
    margin-top: 1.5rem;
  }
  
  .feature-item {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
  }
  
  .feature-item i {
    font-size: 1rem;
    margin-right: 0.75rem;
  }
}

@media (max-width: 576px) {
  .info-content {
    padding: 1.25rem !important;
  }
  
  .feature-item {
    font-size: 0.85rem;
  }
}

/* 6. Stats Grid - Mobile Layout */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .stat-item {
    padding: 1.5rem 1rem !important;
  }
  
  .stat-number {
    font-size: 2rem !important;
  }
  
  .stat-label {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
  
  .stat-item {
    padding: 1.25rem !important;
  }
  
  .stat-number {
    font-size: 1.75rem !important;
  }
}

/* 7. Typography - Mobile Adjustments */
@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem !important;
  }
  
  h5 {
    font-size: 1rem !important;
  }
  
  .lead {
    font-size: 0.95rem !important;
  }
  
  p {
    font-size: 0.9rem;
  }
}

/* 8. Navbar - Mobile Fixes */
@media (max-width: 992px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
  }
  
  .navbar-nav {
    gap: 0 !important;
  }
  
  .nav-item {
    margin: 5px 0;
  }
  
  .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    margin-top: 10px;
  }
}

/* 9. Footer - Mobile Spacing */
@media (max-width: 768px) {
  .footer-section {
    padding: 2rem 0 !important;
  }
  
  .footer-logo {
    max-width: 80px;
  }
  
  .footer-section h5,
  .footer-section h6 {
    font-size: 1rem;
    margin-top: 1.5rem;
  }
  
  .footer-section p,
  .footer-section li {
    font-size: 0.875rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .map-container iframe {
    height: 150px;
  }
}

/* 10. Disable Heavy Animations on Mobile */
@media (max-width: 768px) {
  .product-card:hover {
    transform: translateY(-5px) scale(1.01) !important;
  }
  
  /* Disable 3D tilt on mobile */
  .product-card {
    transform: none !important;
  }
  
  .product-card:hover::before {
    opacity: 0.5;
  }
}

/* 11. Touch-friendly Elements */
@media (max-width: 768px) {
  .btn-icon,
  .filter-btn,
  .nav-link,
  .dropdown-item {
    min-height: 44px;
    min-width: 44px;
  }
}

/* 12. Prevent Horizontal Scroll */
body {
  overflow-x: hidden !important;
  width: 100%;
}

.container-fluid,
.row {
  overflow-x: hidden;
}

.products-hero {
  overflow: hidden;
}

/* 13. Video Background - Mobile Optimization */
@media (max-width: 768px) {
  .bg-video {
    object-position: center;
    filter: brightness(0.5) contrast(1.1);
  }
  
  .hero-overlay {
    background: linear-gradient(135deg, rgba(145, 72, 118, 0.5) 0%, rgba(34, 78, 45, 0.5) 100%);
  }
}

/* 14. Grid Responsiveness */
@media (max-width: 768px) {
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* 15. Search Results Message */
@media (max-width: 576px) {
  .search-results-message {
    padding: 2rem 1rem !important;
  }
  
  .no-results i {
    font-size: 3rem !important;
  }
  
  .no-results h4 {
    font-size: 1.25rem !important;
  }
}

/* 16. Smooth Transitions for Mobile */
@media (max-width: 768px) {
  * {
    transition-duration: 0.2s !important;
  }
  
  .product-card,
  .stat-item,
  .info-content {
    transition-duration: 0.3s !important;
  }
}

/* 17. Better spacing between sections */
@media (max-width: 576px) {
  section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

/* 18. Product Info Alignment */
@media (max-width: 576px) {
  .product-info {
    text-align: left;
  }
  
  .product-features {
    justify-content: flex-start;
  }
}