/* ============================================
   Product Page - Shadcn-Inspired Design
   Modern, Clean, Professional B2B UI/UX
   ============================================ */

/* ============================================
   Design Tokens (Shadcn-inspired)
   ============================================ */
:root {
  /* Colors - Professional B2B Palette */
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 221.2 83.2% 53.3%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 221.2 83.2% 53.3%;
  --radius: 0.5rem;

  /* Converted to RGB for easier use */
  --bg-primary: hsl(var(--primary));
  --bg-secondary: hsl(var(--secondary));
  --text-primary: hsl(var(--foreground));
  --text-secondary: hsl(var(--muted-foreground));
  --border-color: hsl(var(--border));
}

/* ============================================
   Base Styles - Shadcn Typography
   ============================================ */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Hero Section - Card-based Layout
   ============================================ */
.section1 {
  margin-top: 130px !important;
  margin-bottom: 80px;
}

.section1 .row {
  display: flex;
  align-items: stretch;
}

.section1 .col-lg-6 {
  display: flex;
  flex-direction: column;
}

.section1 .col-lg-6:first-child {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section1 .col-lg-6:last-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  height: 100% !important;
}

.section1 .col-lg-6:last-child > * {
  flex: 1 1 100% !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
}

/* Product Card Container */
.product-hero-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  box-shadow:
    0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  padding: 2rem;
  transition: box-shadow 0.2s ease;
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 1 100% !important;
  align-self: stretch !important;
}

#mainImageWrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  position: relative;
}

#mainImageWrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 100%;
}

.product-hero-card:hover {
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Product Title - Shadcn Typography */
.produuctDetails > h1 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.produuctDetails > p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* Feature List - Clean Design */
.produuctDetails ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.produuctDetails ul li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  line-height: 1.6;
}

.produuctDetails ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: 0.875rem;
}

/* ============================================
   Buttons - Shadcn Style (Enhanced)
   ============================================ */
.btn-primary-shadcn,
.get-quote-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) * 1);
  font-size: 0.875rem;
  font-weight: 600;
  height: 2.75rem;
  padding: 0.625rem 1.5rem;
  background-color: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0.625rem;
  text-decoration: none;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  position: relative;
  overflow: hidden;
}

.btn-primary-shadcn::before,
.get-quote-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary-shadcn:hover::before,
.get-quote-btn:hover::before {
  left: 100%;
}

.btn-primary-shadcn:hover,
.get-quote-btn:hover {
  background-color: hsl(var(--primary) / 0.9) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px hsl(var(--primary) / 0.4);
  color: hsl(var(--primary-foreground)) !important;
}

.btn-primary-shadcn:active,
.get-quote-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
}

.btn-secondary-shadcn,
.contact-toggle-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  border-radius: calc(var(--radius) * 1);
  font-size: 0.875rem;
  font-weight: 600;
  height: 2.75rem;
  padding: 0.625rem 1.5rem;
  background-color: hsl(var(--secondary)) !important;
  color: hsl(var(--secondary-foreground)) !important;
  border: 1.5px solid hsl(var(--border)) !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0.625rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.btn-secondary-shadcn:hover,
.contact-toggle-btn:hover {
  background-color: hsl(var(--muted)) !important;
  border-color: hsl(var(--primary) / 0.5) !important;
  color: hsl(var(--primary)) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px -2px hsl(var(--primary) / 0.2);
}

.btn-secondary-shadcn:active,
.contact-toggle-btn:active {
  transform: translateY(0);
}

.btn-primary-shadcn i,
.get-quote-btn i,
.btn-secondary-shadcn i,
.contact-toggle-btn i {
  font-size: 0.875rem;
  opacity: 1;
  color: inherit;
  transition: transform 0.3s ease;
}

.btn-primary-shadcn:hover i,
.get-quote-btn:hover i {
  transform: scale(1.1);
}

.btn-secondary-shadcn:hover i,
.contact-toggle-btn:hover i {
  transform: scale(1.1);
}

/* ============================================
   Tabs - Shadcn Style (Minimal, Clean)
   ============================================ */
.custom-tabs {
  background: hsl(var(--muted));
  border-radius: calc(var(--radius) * 1);
  padding: 0.25rem;
  display: inline-flex;
  position: relative;
  border: none !important;
}

.nav-tabs {
  border: none !important;
  background: transparent !important;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center; /* keep items aligned */
  gap: 0.25rem;
}

.nav-tabs .nav-item {
  flex: 0 0 auto;
}

.nav-tabs {
  background-color: hsl(var(--muted)) !important;
  padding: 8px !important;
  border-radius: 12px !important;
  gap: 4px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.nav-tabs .nav-link {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  padding: 12px 20px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: hsl(var(--muted-foreground)) !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  white-space: nowrap;
  gap: 8px !important;
  min-height: 44px !important;
  line-height: 1.4 !important;
}

.nav-tabs .nav-link:hover {
  color: hsl(var(--primary)) !important;
  background: rgba(37, 99, 235, 0.1) !important;
  border: none !important;
  transform: translateY(-2px) !important;
}

.nav-tabs .nav-link.active {
  color: #ffffff !important;
  background: hsl(var(--primary)) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
  border: none !important;
  font-weight: 700 !important;
  transform: translateY(-2px) !important;
}

.nav-tabs .nav-link i {
  font-size: 16px !important;
  opacity: 0.8;
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  position: relative;
  top: 0;
  transition: all 0.3s ease !important;
}

.nav-tabs .nav-link:hover i {
  opacity: 1 !important;
  color: hsl(var(--primary)) !important;
}

.nav-tabs .nav-link.active i {
  opacity: 1 !important;
  color: #ffffff !important;
  filter: brightness(1.2) !important;
}

/* Tab Content */
.tab-content {
  padding: 1.5rem 0;
  border: none;
}

.tab-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

/* ============================================
   Feature Cards - Shadcn Card Style
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 1);
  padding: 1.5rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.feature-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 4px 8px -2px rgb(0 0 0 / 0.2);
}

.feature-card:hover .feature-icon {
  transform: translate(-50%, -50%) scale(1.05);
}

.feature-icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: calc(var(--radius) * 1);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
  position: relative;
  transition: all 0.2s ease;
}

.feature-icon {
  font-size: 1.35rem;
  color: white;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
}

/* Colorful backgrounds for each feature icon */
.feature-card:nth-child(1) .feature-icon-wrapper {
  background: linear-gradient(
    135deg,
    #3b82f6,
    #2563eb
  ); /* Blue for plug/input */
}

.feature-card:nth-child(2) .feature-icon-wrapper {
  background: linear-gradient(
    135deg,
    #f59e0b,
    #d97706
  ); /* Amber for bolt/output */
}

.feature-card:nth-child(3) .feature-icon-wrapper {
  background: linear-gradient(
    135deg,
    #8b5cf6,
    #7c3aed
  ); /* Purple for network */
}

.feature-card:nth-child(4) .feature-icon-wrapper {
  background: linear-gradient(
    135deg,
    #10b981,
    #059669
  ); /* Green for speedometer */
}

.feature-card:nth-child(5) .feature-icon-wrapper {
  background: linear-gradient(135deg, #6366f1, #4f46e5); /* Indigo for server */
}

.feature-card:nth-child(6) .feature-icon-wrapper {
  background: linear-gradient(135deg, #f97316, #ea580c); /* Orange for shield */
}

.feature-card:nth-child(7) .feature-icon-wrapper {
  background: linear-gradient(135deg, #ef4444, #dc2626); /* Red for power */
}

.feature-card:nth-child(8) .feature-icon-wrapper {
  background: linear-gradient(135deg, #64748b, #475569); /* Slate for hammer */
}

.feature-card:nth-child(9) .feature-icon-wrapper {
  background: linear-gradient(
    135deg,
    #eab308,
    #ca8a04
  ); /* Yellow for lightbulb */
}

.feature-card:nth-child(10) .feature-icon-wrapper {
  background: linear-gradient(
    135deg,
    #06b6d4,
    #0891b2
  ); /* Cyan for thermometer */
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: hsl(var(--foreground));
  margin: 0;
}

.feature-description {
  font-size: 0.95rem;
  color: hsl(var(--foreground));
  line-height: 1.55;
  margin: 0;
}

/* ============================================
   Application Cards - Shadcn Style
   ============================================ */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.application-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 1);
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.application-item:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

.application-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: hsl(var(--muted));
  position: relative;
}

.application-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.application-item span {
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  line-height: 1.5;
  text-align: center;
}

/* ============================================
   Specifications Table - Clean Design
   ============================================ */
.custom-spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.custom-spec-table th {
  background: hsl(var(--muted));
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--border));
}

.custom-spec-table td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  border-bottom: 1px solid hsl(var(--border));
}

.custom-spec-table tr:last-child th,
.custom-spec-table tr:last-child td {
  border-bottom: none;
}

/* ============================================
   Document Cards - Shadcn Style
   ============================================ */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.document-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 1);
  overflow: hidden;
  transition: all 0.2s ease;
}

.document-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.document-preview-image {
  width: 100%;
  height: 200px;
  background: hsl(var(--muted));
  position: relative;
  overflow: hidden;
}

.document-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.document-overlay {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 3rem;
  height: 3rem;
  background: hsl(var(--primary) / 0.95);
  border-radius: calc(var(--radius) * 1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.document-card:hover .document-overlay {
  background: hsl(var(--primary));
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.document-overlay i {
  font-size: 1.25rem;
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.document-content {
  padding: 1.5rem;
}

.document-title {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.document-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.document-actions {
  margin-top: 0.75rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: calc(var(--radius) * 1);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  background-color: #0066cc;
  color: #ffffff;
  border: 2px solid #0066cc;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
  min-height: 40px;
}

.btn-download:hover {
  background-color: #0052a3;
  border-color: #0052a3;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.btn-download:active {
  background-color: #003d7a;
  border-color: #003d7a;
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.btn-download:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.btn-download i {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.btn-download:hover i {
  transform: translateY(1px);
}

/* ============================================
   Functional Description - Clean List
   ============================================ */
.functional-description-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.functional-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 1);
  transition: all 0.2s ease;
}

.functional-item:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

.functional-item:hover .functional-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 8px -2px rgb(0 0 0 / 0.2);
}

.functional-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: calc(var(--radius) * 1);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
}

.functional-icon i {
  font-size: 1.5rem;
  color: white;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}

/* Colorful backgrounds for each icon */
.functional-item:nth-child(1) .functional-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb); /* Blue for signal */
}

.functional-item:nth-child(2) .functional-icon {
  background: linear-gradient(135deg, #10b981, #059669); /* Green for power */
}

.functional-item:nth-child(3) .functional-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706); /* Amber for shield */
}

.functional-item:nth-child(4) .functional-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed); /* Purple for chart */
}

.functional-item:nth-child(5) .functional-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626); /* Red for gear */
}

.functional-text {
  flex: 1;
}

.functional-text p {
  margin: 0;
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
  line-height: 1.6;
}

/* ============================================
   Description Section - Clean Typography
   ============================================ */
.description-content {
  max-width: none;
}

.description-paragraph {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.description-paragraph:first-child {
  font-size: 1rem;
  font-weight: 500;
}

/* ============================================
   Inner Tabs - Shadcn Style (for nested tabs)
   ============================================ */
.inner-tabs {
  background: hsl(var(--muted));
  border-radius: calc(var(--radius) * 1);
  padding: 0.25rem;
  display: inline-flex;
  border: none !important;
  margin-bottom: 1.5rem;
}

.inner-tabs .nav-item {
  flex: 0 0 auto;
}

.inner-tabs .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) * 0.75);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground)) !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  gap: 0.5rem;
  min-height: 2.5rem;
}

.inner-tabs .nav-link:hover {
  color: hsl(var(--foreground)) !important;
  background: hsl(var(--accent)) !important;
}

.inner-tabs .nav-link.active {
  color: hsl(var(--primary)) !important;
  background: hsl(var(--card)) !important;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.inner-tabs .nav-link i {
  font-size: 0.875rem;
  opacity: 0.8;
}

.inner-tabs .nav-link.active i {
  opacity: 1;
}

.inner-tab-content {
  padding: 0;
}

/* ============================================
   Resources Accordion - Premium Shadcn Design
   ============================================ */
.resources-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accordion-item {
  border: 1px solid hsl(var(--border)) !important;
  border-radius: 8px !important;
  margin-bottom: 0 !important;
  overflow: hidden;
  background: hsl(var(--card)) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.accordion-item:hover {
  border-color: hsl(var(--primary) / 0.2) !important;
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
}

.accordion-item:has(.accordion-button[aria-expanded="true"]) {
  border-color: hsl(var(--primary) / 0.3) !important;
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
}

.accordion-header {
  margin: 0 !important;
}

.accordion-button {
  width: 100% !important;
  padding: 0.75rem 2.25rem 0.75rem 0.875rem !important; /* add right room for chevron */
  background: hsl(var(--card)) !important;
  border: none !important;
  text-align: left !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: hsl(var(--foreground)) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important; /* align content to left */
  gap: 0.75rem !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  box-shadow: none !important;
  line-height: 1.5 !important;
}

.accordion-button > * {
  display: flex !important;
  align-items: center !important;
}

/* Ensure text content is properly aligned */
.accordion-button > i:first-child + * {
  display: inline-flex !important;
  align-items: center !important;
  flex: 1;
}

/* Remove Bootstrap margin classes that interfere */
.accordion-button .me-2 {
  margin-right: 0.5rem !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.accordion-button .ms-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.accordion-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: hsl(var(--primary));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.accordion-button:hover {
  background: hsl(var(--muted)) !important;
  color: hsl(var(--foreground)) !important;
}

.accordion-button:hover::before {
  opacity: 0.5;
}

.accordion-button[aria-expanded="true"] {
  background: hsl(var(--muted)) !important;
  color: hsl(var(--primary)) !important;
  font-weight: 600 !important;
}

.accordion-button[aria-expanded="true"]::before {
  opacity: 1;
}

.accordion-button i:first-child {
  font-size: 1rem !important;
  color: hsl(var(--primary)) !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  text-align: center !important;
}

.accordion-button[aria-expanded="true"] i:first-child {
  color: hsl(var(--primary)) !important;
}

.accordion-icon {
  font-size: 0.75rem !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  flex-shrink: 0 !important;
  color: hsl(var(--muted-foreground)) !important;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  text-align: center !important;
  position: absolute !important;
  right: 0.75rem !important; /* nudge closer to edge */
  top: 50% !important;
  transform: translateY(-50%) rotate(0deg) !important;
}

.accordion-button:hover .accordion-icon {
  color: hsl(var(--foreground)) !important;
}

.accordion-button[aria-expanded="true"] .accordion-icon {
  transform: translateY(-50%) rotate(180deg) !important;
  color: hsl(var(--primary)) !important;
}

.accordion-body {
  padding: 1.5rem !important;
  background: hsl(var(--card)) !important;
  border-top: 1px solid hsl(var(--border)) !important;
}

/* Resources Section Header */
#resources h2 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin-bottom: 1.25rem !important;
  color: hsl(var(--foreground)) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#resources h2::before {
  content: "\f02d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.125rem;
  color: hsl(var(--primary));
}

/* Video Cards in Resources */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.video-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: hsl(var(--muted));
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: hsl(var(--primary) / 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  box-shadow: 0 4px 12px -2px hsl(var(--primary) / 0.4);
  border: 2px solid hsl(var(--card));
}

.video-play-button i {
  color: hsl(var(--primary-foreground));
  font-size: 18px;
  margin-left: 2px;
}

.video-card:hover .video-play-button {
  background: hsl(var(--primary));
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 16px -2px hsl(var(--primary) / 0.5);
}

.video-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-title {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1.4;
}

.video-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
  line-height: 1.5;
}

/* Gallery Images Grid */
.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.image-card {
  background: hsl(var(--card));
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.image-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

.image-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

/* ============================================
   Image Gallery - Modern Shadcn Design
   ============================================ */
.product-image-gallery,
#mainImageWrapper {
  background: hsl(var(--card)) !important;
  border: 1px solid hsl(var(--border)) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
  position: relative !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: zoom-in !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

.product-image-gallery:hover,
#mainImageWrapper:hover {
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1) !important;
  border-color: hsl(var(--border)) !important;
}

.sliderImageSize {
  border-radius: 8px !important;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 570px !important;
  /* object-fit: cover !important; */
  background: hsl(var(--card)) !important;
  border: none !important;
  box-shadow: none !important;
}

/* Thumbnail Gallery - Modern Minimal */
.thumbnail-gallery-wrapper {
  margin-top: 1.25rem !important;
}

.thumbnail-gallery {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.875rem !important;
  flex-wrap: wrap !important;
  padding: 0.875rem !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  margin-top: 0 !important;
  box-shadow: none !important;
}

.thumb-img {
  width: 90px !important;
  height: 90px !important;
  border: 2px solid hsl(var(--border)) !important;
  border-radius: 6px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  object-fit: cover !important;
  background: hsl(var(--card)) !important;
  padding: 0 !important;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
  display: block !important;
}

.thumb-img:hover {
  border-color: hsl(var(--primary)) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;
}

.thumb-img.border-primary {
  border-color: hsl(var(--primary)) !important;
  border-width: 2.5px !important;
  box-shadow:
    0 0 0 2px hsl(var(--primary) / 0.1),
    0 2px 4px -1px rgb(0 0 0 / 0.1) !important;
  transform: translateY(-1px) !important;
}

/* Slider Navigation Buttons */
.slider-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 36px !important;
  background: hsl(var(--card) / 0.9) !important;
  border: 1px solid hsl(var(--border)) !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  z-index: 10 !important;
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  color: hsl(var(--foreground)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  font-weight: 500 !important;
  padding: 0 !important;
  margin: 0 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  line-height: 0 !important;
}

.slider-btn i {
  font-size: 14px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.slider-btn:hover {
  background: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
  border-color: hsl(var(--primary)) !important;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;
  transform: translateY(-50%) scale(1.05) !important;
}

.slider-btn:hover i {
  color: hsl(var(--primary-foreground)) !important;
  transform: translate(-50%, -50%) !important;
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.98) !important;
}

#prevBtn {
  left: 12px !important;
}

#nextBtn {
  right: 12px !important;
}

/* Breadcrumb */
#mainImageWrapper .breadcrumb-wrapper,
.product-image-gallery .breadcrumb-wrapper {
  z-index: 15 !important;
}

#mainImageWrapper .breadcrumb,
.product-image-gallery .breadcrumb {
  background: hsl(var(--card) / 0.95) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid hsl(var(--border) / 0.5) !important;
}

/* ============================================
   Dropdown Menu - Shadcn Style
   ============================================ */
/* ============================================
   Contact Dropdown - Shadcn Menu
   ============================================ */
.contact-dropdown-menu {
  background: hsl(var(--card)) !important;
  border: 1px solid hsl(var(--border)) !important;
  border-radius: 8px !important;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.1) !important;
  padding: 0.375rem !important;
  margin-top: 0.5rem !important;
  min-width: 240px !important;
  max-width: 280px !important;
}

.contact-dropdown-menu li {
  display: flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  padding: 0.5rem 0.625rem !important;
  margin: 0 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  min-height: 36px !important;
}

.contact-dropdown-menu li + li {
  margin-top: 0.125rem !important;
}

.contact-dropdown-menu li:hover {
  background: hsl(var(--muted)) !important;
  transform: translateX(2px) !important;
}

.contact-dropdown-menu i {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 5px !important;
  background: #e3f2fd !important;
  color: #0066cc !important;
  font-size: 0.75rem !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.contact-dropdown-menu li:hover i {
  background: #0066cc !important;
  color: #ffffff !important;
}

.contact-dropdown-menu a {
  color: hsl(var(--foreground)) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  flex: 1 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow: visible !important;
  text-overflow: clip !important;
  min-height: 20px !important;
  display: flex !important;
  align-items: center !important;
}

.contact-dropdown-menu a:hover {
  color: hsl(var(--primary)) !important;
}

/* Toggle button refinements */
.contact-toggle-btn {
  gap: 0.5rem !important;
}

.contact-toggle-btn i {
  color: inherit !important;
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 768px) {
  .contact-dropdown-menu {
    min-width: 220px !important;
    max-width: 260px !important;
    padding: 0.25rem !important;
  }

  .contact-dropdown-menu li {
    padding: 0.375rem 0.5rem !important;
  }

  .contact-dropdown-menu i {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    font-size: 0.7rem !important;
  }

  .contact-dropdown-menu a {
    font-size: 0.8125rem !important;
  }

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

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

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

  .produuctDetails > h1 {
    font-size: 1.5rem;
  }

  .custom-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .nav-tabs {
    min-width: max-content;
  }

  .product-hero-card {
    padding: 1.5rem;
  }

  /* Image Gallery Mobile */
  .thumbnail-gallery {
    padding: 0.75rem !important;
    gap: 0.625rem !important;
  }

  .thumb-img {
    width: 70px !important;
    height: 70px !important;
  }

  .slider-btn {
    width: 32px !important;
    height: 32px !important;
  }

  .slider-btn i {
    font-size: 12px !important;
  }

  #prevBtn {
    left: 8px !important;
  }

  #nextBtn {
    right: 8px !important;
  }

  #mainImageWrapper,
  .product-image-gallery {
    border-radius: 8px !important;
  }

  .sliderImageSize {
    border-radius: 8px !important;
    height: 470px !important;
  }

  /* Resources Accordion Mobile */
  .accordion-button {
    padding: 0.875rem 1rem !important;
    font-size: 0.875rem !important;
  }

  .accordion-body {
    padding: 1.25rem !important;
  }

  .accordion-button i:first-child {
    font-size: 0.9375rem !important;
    width: 18px !important;
  }
}
