/* 
   Santosh Polymers - Design System & Custom Stylesheet
   Optimized, deduplicated, with enhanced UX patterns
*/

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

:root {
  --primary-color: #035217;
  --primary-rgb: 3, 82, 23;
  --accent-color: #2da149;
  --accent-rgb: 45, 161, 73;
  --secondary-color: #f6ba22;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --border-color: #e2e8f0;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-color);
}

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

ul,
ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--bg-secondary);
}

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

.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
  grid-template-columns: 300px 1fr;
  gap: 40px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-sm {
  gap: 16px;
}

.gap-md {
  gap: 24px;
}

.gap-lg {
  gap: 40px;
}

@media (max-width: 1024px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-auto {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-auto {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }
}

/* Section Titles */
.section-subtitle {
  color: var(--accent-color);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 36px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(3, 82, 23, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 82, 23, 0.35);
  color: #ffffff;
}

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

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(3, 82, 23, 0.25);
}

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

.btn-accent:hover {
  background-color: #e5ac16;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 186, 34, 0.2);
}

.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
}

/* Card Base */
.card {
  background-color: #ffffff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-bounce);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(3, 82, 23, 0.08);
}

/* Timeline Card */
.timeline-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-color);
}

.timeline-card h4 {
  color: var(--accent-color);
  font-size: 20px;
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.timeline-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Team Card */
.team-card {
  text-align: center;
  background-color: var(--bg-secondary);
  padding: 30px 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

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

.team-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.team-card span {
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Industry Block */
.industry-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  scroll-margin-top: 100px;
}

.industry-block img {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.industry-block h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.industry-block p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .industry-block {
    grid-template-columns: 1fr;
  }
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 100px;
  align-self: start;
}

@media (max-width: 1024px) {
  .sidebar {
    position: static;
  }
}

/* Sidebar Widget */
.sidebar-widget {
  background-color: var(--bg-secondary);
  padding: 30px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-color);
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-links li {
  border-bottom: 1px solid var(--border-color);
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-primary);
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
}

.sidebar-links a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--border-color);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sidebar-links a:hover {
  background-color: var(--bg-primary);
  color: var(--primary-color);
}

.sidebar-links a:hover::before {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* Download Link */
.download-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: #ffffff;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
}

.download-link:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* Header & Navigation */
.top-bar {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid #1e293b;
}

.top-bar a {
  color: #cbd5e1;
}

.top-bar a:hover {
  color: var(--accent-color);
}

.top-bar svg {
  color: var(--accent-color);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contacts {
  display: flex;
  gap: 24px;
}

.top-contacts span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  opacity: 1;
}

.nav-bar {
  background-color: var(--primary-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 99;
  transition: var(--transition-smooth);
}

.nav-bar.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-bar-inner {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Nav logo - santosh.svg cropped to show only "Santosh" (top ~62% of SVG height) */
/* SVG is 914x289. Santosh row is top ~180px (~62%). Polymers row is bottom ~109px (~38%) */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo-crop {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  /* At width=176px: full SVG height = 176*(289/914) = ~55.7px. Clip to ~62% = ~35px */
  height: 35px;
}

.nav-logo {
  width: 176px;
  height: auto;
  display: block;
}

.mobile-logo {
  width: 130px;
  height: auto;
  display: block;
}

.mobile-logo-crop {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  /* At width=130px: full SVG height = 130*(289/914) = ~41px. Clip to ~62% = ~25px */
  height: 25px;
}

.logo-text a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.logo-brand {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.logo-tagline {
  font-size: 11px;
  color: var(--accent-color);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.main-menu {
  display: flex;
  gap: 32px;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  transition: var(--transition-smooth);
}

.main-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition-smooth);
}

.main-menu a:hover::after,
.main-menu li.active a::after {
  width: 100%;
}

.main-menu a:hover,
.main-menu li.active>a {
  color: var(--secondary-color);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  padding: 12px 0;
  width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--secondary-color);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  margin-bottom: 6px;
  transition: var(--transition-smooth);
}

.mobile-toggle span:last-child {
  margin-bottom: 0;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: #ffffff;
  z-index: 1000;
  padding: 40px 24px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  overflow-y: auto;
  transform: translateX(100%);
}

.mobile-menu-panel.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.close-mobile-menu {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu-links a {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 500;
}

.mobile-sub-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.mobile-sub-toggle svg {
  transition: transform 0.3s ease;
}

.mobile-sub-toggle.open svg {
  transform: rotate(90deg);
}

.mobile-menu-links .sub-links {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  border-left: 2px solid var(--border-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.mobile-menu-links .sub-links.open {
  max-height: 300px;
  opacity: 1;
}

.mobile-menu-links .sub-links a {
  font-size: 15px;
  color: var(--text-secondary);
}

.mobile-contact-info p {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-contact-info a {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
}

@media (max-width: 768px) {

  .main-menu,
  .top-contacts {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .top-bar-inner {
    justify-content: center;
  }
}

/* Navbar Contact Info */
.nav-contacts {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.nav-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  white-space: nowrap;
}

.nav-contact-item svg {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.nav-contact-item:hover {
  color: #ffffff;
}

@media (max-width: 1200px) {
  .nav-contacts {
    display: none;
  }
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, rgba(3, 82, 23, 0.95), rgba(45, 161, 73, 0.8)), url('../images/bg/2.webp');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
}

.page-banner h1 {
  color: #ffffff;
  font-size: 40px;
  margin-bottom: 12px;
}

.breadcrumbs {
  font-size: 14px;
  opacity: 0.8;
}

.breadcrumbs a {
  color: #ffffff;
}

.breadcrumbs span {
  margin: 0 8px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--bg-dark);
  color: #ffffff;
  height: 600px;
  overflow: hidden;
}

.hero-slider {
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 30%, rgba(15, 23, 42, 0.4) 100%);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-content h5 {
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: 14px;
}

.hero-content h2 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-content p {
  color: #e2e8f0;
  font-size: 18px;
  margin-bottom: 36px;
}

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

.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hero-dot.active {
  background-color: var(--secondary-color);
  width: 28px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .hero-section {
    height: 480px;
  }

  .hero-content h2 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* About Intro Home */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-images-stack {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.about-img-large {
  width: 80%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.about-img-small {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 50%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.exp-badge {
  position: absolute;
  top: -20px;
  left: 20px;
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.exp-badge h3 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
}

.exp-badge span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-intro-desc p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images-stack {
    margin-bottom: 40px;
    justify-content: center;
  }
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: #ffffff;
  padding: 40px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition-smooth);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: var(--bg-secondary);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background-color: var(--accent-color);
  color: #ffffff;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

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

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

/* Product Categories Grid (Home) */
.category-card {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
}

.category-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

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

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 20%, rgba(15, 23, 42, 0.2) 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition-smooth);
}

.category-overlay h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 6px;
}

.category-overlay p {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

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

.category-link {
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Facts Counter */
.facts-section {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 60px 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.fact-item h2 {
  color: var(--secondary-color);
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
}

.fact-item p {
  color: #e2e8f0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* Product Catalog Filters */
.product-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

@media (max-width: 480px) {
  .product-filters {
    gap: 8px;
  }

  .filter-btn {
    width: 100%;
    text-align: center;
  }
}

/* Product Card */
.product-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(3, 82, 23, 0.08);
  border-color: var(--accent-color);
}

.product-image {
  position: relative;
  background-color: var(--bg-secondary);
  height: 220px;
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--secondary-color);
  color: var(--text-primary);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  text-transform: uppercase;
}

.product-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-cat {
  font-size: 12px;
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.product-title a {
  color: var(--text-primary);
}

.product-title a:hover {
  color: var(--accent-color);
}

.product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.product-actions a {
  flex: 1;
}

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

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-main {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 400px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--accent-color);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-meta-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 16px;
}

.specs-short-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  word-break: break-word;
}

.specs-short-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.specs-short-table td.label-col {
  color: var(--text-muted);
  width: 35%;
}

.specs-short-table td.val-col {
  font-weight: 500;
  color: var(--text-primary);
}

.specs-short-table tr:nth-child(even) {
  background-color: var(--bg-secondary);
}

.product-enquiry-box {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* Product Tabs */
.product-tabs-section {
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
}

.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  gap: 24px;
}

.tab-link {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 8px;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.tab-link.active {
  color: var(--accent-color);
}

.tab-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

.tab-content {
  padding: 30px 0;
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.specs-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.spec-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.spec-detail-item:hover {
  background-color: rgba(3, 82, 23, 0.04);
}

.spec-detail-item span.lbl {
  color: var(--text-muted);
}

.spec-detail-item span.val {
  font-weight: 600;
}

@media (max-width: 1024px) {
  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .specs-detail-grid {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    height: 280px;
  }

  .product-details-grid h2 {
    font-size: 24px !important;
  }
}

@media (max-width: 600px) {
  .product-enquiry-box a {
    flex: 1 1 100% !important;
  }

  .tabs-nav {
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-link {
    white-space: nowrap;
    font-size: 14px;
    padding: 12px 8px;
  }

  .contact-form-box {
    padding: 24px;
  }

  .contact-form-box h2 {
    font-size: 20px !important;
  }

  .contact-form-box [style*="display: flex"][style*="gap: 24px"] {
    flex-direction: column;
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .specs-short-table td.label-col {
    width: 40%;
  }
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 50px;
}

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

.contact-card {
  background-color: var(--bg-secondary);
  padding: 30px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateX(4px);
  border-color: var(--accent-color);
}

.contact-card-icon {
  font-size: 24px;
  color: var(--accent-color);
}

.contact-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-form-box {
  background-color: #ffffff;
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

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

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

.form-row-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-smooth);
}

input.form-control,
select.form-control {
  height: 46px;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(45, 161, 73, 0.15);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.hp-field {
  display: none !important;
}

.google-map {
  margin-top: 60px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.google-map iframe {
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 80px 0 40px;
  border-top: 4px solid var(--accent-color);
}

footer h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 24px;
}

footer p {
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-prod-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-prod-img {
  width: 60px;
  height: 45px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background-color: #1e293b;
  flex-shrink: 0;
}

.footer-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-prod-text h5 {
  font-size: 13px;
  font-weight: 500;
}

.footer-prod-text h5 a {
  color: #e2e8f0;
}

.footer-prod-text h5 a:hover {
  color: var(--secondary-color);
}

.footer-prod-text span {
  font-size: 11px;
  color: #64748b;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1e293b;
  color: #94a3b8;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background-color: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Floating Elements */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--accent-color);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
  z-index: 999;
  border: none;
}

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

.back-to-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.floating-whatsapp {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background-color: #25d366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    left: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

/* ======= SCROLL REVEAL ANIMATIONS ======= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delay helpers */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* ======= TOAST NOTIFICATION ======= */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--accent-color);
  min-width: 300px;
  max-width: 450px;
  animation: toastSlideIn 0.3s ease;
}

@media (max-width: 360px) {
  .toast {
    min-width: unset;
    width: calc(100vw - 48px);
  }
}

.toast.toast-error {
  border-left-color: #ef4444;
}

.toast.toast-success {
  border-left-color: var(--accent-color);
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast-message {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}

.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0 4px;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ======= TESTIMONIALS ======= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 48px;
  color: var(--accent-color);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 16px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 14px;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
}

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

/* ======= SPINNER ======= */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ======= RESPONSIVE TWEAKS ======= */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  .page-banner {
    padding: 50px 0;
  }
}

/* ======= COOKIE CONSENT PANEL ======= */
.cookie-consent-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 420px;
  width: calc(100% - 48px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 8px 20px -6px rgba(0, 0, 0, 0.05);
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cookie-consent-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.cookie-consent-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-consent-content h4 svg {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.cookie-consent-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.cookie-consent-content p a {
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: underline;
}

.cookie-consent-content p a:hover {
  color: var(--primary-color);
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
}

.cookie-consent-buttons button {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.cookie-btn-accept {
  background-color: var(--primary-color);
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background-color: var(--accent-color);
  transform: translateY(-1px);
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color) !important;
}

.cookie-btn-reject:hover {
  background-color: rgba(0, 0, 0, 0.03);
  color: var(--text-primary);
}

@media (max-width: 576px) {
  .cookie-consent-panel {
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
    padding: 20px;
  }

  .cookie-consent-buttons {
    flex-direction: column;
    gap: 8px;
  }
}