/* ============================================
   Product Page CSS
   Extracted from inline styles for better organization
   ============================================ */

/* ============================================
   Container Width Override - Fixed Width Wrapper
   ============================================ */
.container,
.container-xxl {
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Fixed width wrapper for product pages */
main.container-xxl {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

/* Responsive adjustments for fixed width wrapper */
@media (max-width: 1400px) {
  .container,
  .container-xxl,
  main.container-xxl {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 768px) {
  .container,
  .container-xxl,
  main.container-xxl {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* ============================================
   Color Palette - Minimal Professional
   ============================================ */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary-color: #64748b;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --success-color: #10b981;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ============================================
   Breadcrumb Styling - Improved Design
   ============================================ */
.breadcrumb-wrapper {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  margin: 0;
  width: auto;
  max-width: calc(100% - 32px);
  pointer-events: none;
}

.breadcrumb-wrapper .breadcrumb {
  pointer-events: auto;
}

/* Breadcrumb when positioned above gallery */
.breadcrumb-wrapper-top {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  margin: 0 0 20px 0;
  width: auto;
  max-width: 100%;
  pointer-events: auto;
  display: inline-block;
}

.breadcrumb {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  flex-wrap: wrap;
  border: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  width: auto;
}

.breadcrumb-wrapper-top .breadcrumb {
  width: auto;
  max-width: 100%;
}

.breadcrumb-item {
  max-width: 100%;
  word-break: break-word;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.breadcrumb-item.active {
  white-space: normal;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.breadcrumb-item a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.breadcrumb-item a::before {
  content: "\f015";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
}

/* Category icon - second breadcrumb item */
.breadcrumb-item:nth-child(2) a::before {
  content: "\f07b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
}

.breadcrumb-item.active {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Use '›' instead of default '/' as separator */
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 12px;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
}

/* ============================================
   Section 1 - Product Details
   ============================================ */
.section1 {
  margin-top: 130px !important;
  margin-bottom: 70px;
}

.produuctDetails > h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.produuctDetails > p {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
}

.produuctDetails ul {
  margin-top: 20px;
  padding-left: 0;
  list-style: none;
}

.produuctDetails ul li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
}

.produuctDetails ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 14px;
}

/* ============================================
   Image Slider Styles
   ============================================ */
#mainImageWrapper {
  position: relative;
  background: var(--bg-light);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  cursor: zoom-in;
}

.sliderImageSize {
  width: 100%;
  max-width: 100%;
  height: 570px;
  border-radius: 16px;
  box-shadow: none;
  object-fit: cover;
  background: var(--bg-white);
  border: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
  transform-origin: center center;
  overflow: hidden;
  opacity: 1;
}

.sliderImageSize:not([src]),
.sliderImageSize[src=""],
.sliderImageSize[src="#"] {
  opacity: 0;
}

#mainImageWrapper:hover .sliderImageSize {
  transform: scale(2);
  cursor: zoom-out;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.slider-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

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

#prevBtn {
  left: 16px;
}

#nextBtn {
  right: 16px;
}

/* Thumbnail Gallery */
.thumb-img {
  width: 80px;
  height: 80px;
  cursor: pointer;
  border-radius: 10px;
  border: 3px solid var(--border-color);
  transition: all 0.3s ease;
  padding: 4px;
  background: var(--bg-white);
  object-fit: cover;
  display: block;
}

.thumb-img:hover {
  border-color: var(--primary-color) !important;
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

.thumb-img.border-primary {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  transform: scale(1.05);
}

/* Thumbnail Container */
.thumbnail-gallery {
  gap: 12px !important;
  margin-top: 20px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

/* Image Loading State */
#mainImage {
  opacity: 1;
  transition: opacity 0.3s ease;
}

#mainImage.loading {
  opacity: 0.7;
}

/* Smooth Image Transitions */
.sliderImageSize {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Thumbnail Focus State */
.thumb-img:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* ============================================
   Buttons
   ============================================ */
/* Button container - ensure equal sizing */
.d-flex.gap-3.align-items-center.flex-wrap.my-4 {
  display: flex !important;
}

.d-flex.gap-3.align-items-center.flex-wrap.my-4 > * {
  flex: 1 1 auto;
  min-width: 160px;
}

.get-quote-btn,
.enquiryNow {
  padding: 10px 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  background-color: #0066cc;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  min-height: 40px;
  line-height: 1;
  vertical-align: middle;
  flex: 1 1 auto;
  min-width: 60px;
}

.get-quote-btn i,
.enquiryNow i {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  color: #ffffff;
  opacity: 1;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.get-quote-btn:hover,
.enquiryNow:hover {
  color: #ffffff;
  background-color: #0052a3;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.get-quote-btn:active,
.enquiryNow:active {
  background-color: #003d7a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

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

.anchortag {
  padding: 10px 10px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.dateSheet {
  background-color: #e9ca00;
  color: black !important;
  text-decoration: none;
}

.downlod3d {
  background-color: #725f76;
  color: white !important;
  text-decoration: none;
}

.techdownlod {
  background-color: #d1515e;
  color: white !important;
  text-decoration: none;
}

/* ============================================
   Section 2 - Tabs
   ============================================ */
.tab-section {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 0 0 0 25px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tab-content {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 30px !important;
  border-radius: 8px;
  border: none;
  min-height: 400px;
}

.tab-content h2 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-content h2::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 20px;
  color: var(--primary-color);
}

.tab-content #features h2::before {
  content: "\f005";
}

.tab-content #specifications h2::before {
  content: "\f0cb";
}

.tab-content #documents h2::before {
  content: none;
}

.tab-content #resources h2::before {
  content: "\f02d";
}

.tab-content h3 {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-content h3::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
  color: var(--primary-color);
}

/* Description Tab Styling - Enhanced Industry Standard UI */
#description.tab-pane {
  padding: 0;
}

#description.tab-pane h2 {
  margin-bottom: 28px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 24px;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 14px;
  position: relative;
}

#description.tab-pane h2 i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* Industry Standard Description Content - Enhanced */
.description-content {
  max-width: 100%;
  margin: 0;
  padding: 24px 0;
  background: var(--bg-white);
}

.description-paragraph {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 24px;
  font-weight: 400;
  text-align: left;
  letter-spacing: 0.015em;
  position: relative;
  padding-left: 0;
  text-indent: 0;
}

.description-paragraph:first-child {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.9;
  margin-bottom: 26px;
}

.description-paragraph:last-child {
  margin-bottom: 0;
}

/* Enhanced spacing and readability */
.description-content p {
  margin: 0 0 24px 0;
}

/* Add subtle visual enhancement */
.description-content::before {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  margin-bottom: 20px;
  border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .description-content {
    padding: 20px 0;
  }
  
  .description-paragraph {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 20px;
  }
  
  .description-paragraph:first-child {
    font-size: 16px;
    margin-bottom: 22px;
  }
  
  #description.tab-pane h2 {
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 12px;
  }
  
  .description-content::before {
    width: 50px;
    height: 3px;
    margin-bottom: 16px;
  }
}

/* Legacy list styling for other tabs */
.tab-content ul.list-unstyled li {
  padding: 14px 0;
  padding-left: 32px;
  position: relative;
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 15px;
}

/* List items with icons - Font Awesome icons are added directly in HTML */
.tab-content ul.list-unstyled li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tab-content ul.list-unstyled li i {
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================
   Interactive Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-card {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInUp 0.6s ease-out backwards;
}


.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }
.feature-card:nth-child(9) { animation-delay: 0.9s; }
.feature-card:nth-child(10) { animation-delay: 1s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.feature-icon {
  font-size: 28px;
  color: white;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
  line-height: 1;
  margin: 0;
  padding: 0;
  display: block;
  width: auto;
  height: auto;
}


.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}


.feature-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
  transition: color 0.3s ease;
}



/* ============================================
   Functional Description Section
   ============================================ */
.functional-description-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.functional-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
}

.functional-item:nth-child(1) { animation-delay: 0.1s; }
.functional-item:nth-child(2) { animation-delay: 0.2s; }
.functional-item:nth-child(3) { animation-delay: 0.3s; }
.functional-item:nth-child(4) { animation-delay: 0.4s; }
.functional-item:nth-child(5) { animation-delay: 0.5s; }

.functional-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.functional-icon i {
  font-size: 20px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  margin: 0;
  padding: 0;
}

.functional-text {
  flex: 1;
}

.functional-text p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 15px;
}

/* ============================================
   Applications Section
   ============================================ */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.application-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.application-item:nth-child(1) { animation-delay: 0.1s; }
.application-item:nth-child(2) { animation-delay: 0.2s; }
.application-item:nth-child(3) { animation-delay: 0.3s; }
.application-item:nth-child(4) { animation-delay: 0.4s; }
.application-item:nth-child(5) { animation-delay: 0.5s; }
.application-item:nth-child(6) { animation-delay: 0.6s; }
.application-item:nth-child(7) { animation-delay: 0.7s; }

.application-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--bg-light);
  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.1);
}

.application-item span {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  padding: 16px 20px;
  font-weight: 500;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .feature-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .feature-icon {
    font-size: 24px;
  }
  
  .feature-title {
    font-size: 16px;
  }
  
  .functional-description-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .functional-item {
    padding: 16px;
  }
  
  .functional-icon {
    width: 40px;
    height: 40px;
  }
  
  .functional-icon i {
    font-size: 18px;
  }
  
  .applications-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .application-item {
    padding: 14px 16px;
  }
}

.tab-links {
  display: flex;
  gap: 1.5rem;
}

.tab-links span {
  font-weight: 600;
  font-size: 18px;
  color: #003366;
  cursor: pointer;
}

.tab-links span:hover {
  text-decoration: underline;
}

.tab-divider {
  width: 1px;
  background-color: #ddd;
  height: 24px;
  align-self: center;
}

/* ============================================
   Contact Dropdown
   ============================================ */
.contact-toggle-btn {
  background-color: var(--primary-color);
  border-radius: 8px;
  padding: 12px 20px;
  border: none;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.contact-toggle-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-dropdown-menu {
  min-width: 240px;
  max-width: 280px;
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15), 0 2px 4px rgba(0,0,0,.1);
  border: 1px solid var(--border-color);
  padding: 6px;
}

.contact-dropdown-menu li {
  padding: 0;
  margin: 0;
}

.contact-dropdown-menu li + li {
  margin-top: 2px;
}

.contact-dropdown-menu li a {
  font-size: 14px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  border-radius: 6px;
  white-space: normal;
  word-break: break-word;
  overflow: visible;
  text-overflow: clip;
  min-height: 20px;
}

.contact-dropdown-menu li a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
  transform: translateX(2px);
}

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

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

.dropdown-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.dropdown.show .dropdown-icon {
  transform: rotate(180deg);
}

.contact-btn,
.contact-toggle-btn {
  background-color: #0066cc;
  color: #ffffff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  min-height: 40px;
  line-height: 1;
  vertical-align: middle;
  flex: 1 1 auto;
  min-width: 160px;
}

.contact-btn i,
.contact-toggle-btn i {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  color: #ffffff;
  opacity: 1;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.contact-btn .dropdown-icon,
.contact-toggle-btn .dropdown-icon {
  margin-left: 8px;
}

.contact-btn span,
.contact-toggle-btn span {
  display: inline-flex;
  align-items: center;
}

.contact-btn:hover,
.contact-toggle-btn:hover {
  background-color: #0052a3;
  color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

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

.contact-btn:active,
.contact-toggle-btn:active {
  background-color: #003d7a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

.contact-btn span.arrow {
  font-size: 0.8rem;
}

/* ============================================
   General Styles
   ============================================ */
/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

.bottomBorderNone {
  border-bottom: none !important;
}

/* ============================================
   Table Styling
   ============================================ */
.table th,
.table td {
  padding: 0px 8px !important;
  font-size: 14px;
}

.custom-spec-table {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
}

.custom-spec-table th,
.custom-spec-table td {
  text-align: left !important;
  vertical-align: top !important;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.6 !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid var(--border-light) !important;
}

.custom-spec-table th {
  font-weight: 600;
  vertical-align: middle;
  width: 30%;
  color: var(--text-primary);
  background-color: var(--bg-light);
  font-size: 15px;
  position: relative;
  padding-left: 28px !important;
}

.custom-spec-table th::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 12px;
  color: var(--primary-color);
  font-size: 12px;
}

.custom-spec-table td {
  word-break: break-word;
  text-align: left !important;
  vertical-align: top !important;
  color: var(--text-secondary);
  font-size: 15px;
}

.custom-spec-table tbody tr:hover {
  background-color: var(--bg-light);
}

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

/* ============================================
   Recommended Products Section
   ============================================ */
.recommended-heading > h2 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

/* Swiper Container Spacing and Width */
.swiper {
  padding: 0 30px;
  max-width: 100%;
  box-sizing: border-box;
}
.swiper-wrapper{
  height:auto !important;
}
/* Each Slide/Card */
.swiper-slide {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  height: auto;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.swiper-slide:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

/* Product Image */
.swiper-slide img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  object-fit: contain;
}

/* Product Name */
.swiper-slide h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Product Description */
.swiper-slide p {
  font-size: 0.9rem;
  color: #333;
  margin: 0;
}

/* Swiper Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
  color: var(--text-primary) !important;
  background-color: var(--bg-white);
  border-radius: 50%;
  border: 1px solid var(--border-color) !important;
  width: 40px !important;
  height: 40px !important;
  box-shadow: var(--shadow-md) !important;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: var(--primary-color);
  color: white !important;
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-50%) scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 14px !important;
  font-weight: bold !important;
}

/* ============================================
   Resources Section
   ============================================ */
.resources-title {
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

/* Resources Accordion */
.resources-accordion {
  margin-top: 20px;
}

.resources-accordion .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--bg-white);
  overflow: hidden;
}

.resources-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.resources-accordion .accordion-header {
  margin: 0;
}

.resources-accordion .accordion-button {
  background: var(--bg-white);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 20px;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.resources-accordion .accordion-button:not(.collapsed) {
  background: var(--bg-light);
  color: var(--primary-color);
  box-shadow: none;
}

.resources-accordion .accordion-button::after {
  display: none; /* Hide Bootstrap default arrow */
}

.resources-accordion .accordion-button i {
  color: var(--primary-color);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.resources-accordion .accordion-button .accordion-icon {
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 14px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.resources-accordion .accordion-button:not(.collapsed) .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.resources-accordion .accordion-button:focus {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
  border-color: var(--primary-color);
}

.resources-accordion .accordion-body {
  padding: 24px 20px;
  background: var(--bg-white);
}

.resources-accordion .accordion-collapse {
  border-top: 1px solid var(--border-light);
}

/* Videos Grid */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Empty State for Videos */
.videos-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  min-height: 300px;
}

.videos-empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.videos-empty-state-icon i {
  font-size: 36px;
  color: white;
}

.videos-empty-state-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.videos-empty-state-message {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 400px;
}

.videos-empty-state-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  margin: 20px auto;
  border-radius: 2px;
}

.video-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border-color: var(--border-color);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: var(--bg-light);
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  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: 64px;
  height: 64px;
  background: rgba(0, 102, 204, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin: 0;
  padding: 0;
}

.video-play-button i {
  color: #ffffff;
  font-size: 22px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: 100%;
  height: 100%;
}

.video-play-button:hover {
  background: rgba(0, 82, 163, 0.95);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.video-play-button:hover i {
  transform: none;
}

.video-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.video-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

/* Images Grid */
.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Empty State for Gallery */
.gallery-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  min-height: 300px;
}

.gallery-empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.gallery-empty-state-icon i {
  font-size: 36px;
  color: white;
}

.gallery-empty-state-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.gallery-empty-state-message {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 400px;
}

.gallery-empty-state-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  margin: 20px auto;
  border-radius: 2px;
}

.image-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.image-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border-color: var(--border-color);
}

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

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

/* Case Studies Wrapper */
.my-case-studies-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Case Studies Full Width - Increased width for Resources tab */
.case-studies-full-width {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

.my-case-studies-swiper {
  padding: 0 0 40px 0;
}

.my-case-studies-swiper .swiper-slide {
  height: auto;
}

/* Responsive adjustments for resources */
@media (max-width: 768px) {
  .resources-accordion .accordion-button {
    font-size: 15px;
    padding: 14px 16px;
  }
  
  .resources-accordion .accordion-body {
    padding: 20px 16px;
  }
  
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Videos Empty State Mobile */
  .videos-empty-state {
    padding: 40px 15px;
    min-height: 250px;
  }
  
  .videos-empty-state-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  
  .videos-empty-state-icon i {
    font-size: 28px;
  }
  
  .videos-empty-state-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .videos-empty-state-message {
    font-size: 14px;
    max-width: 100%;
  }
  
  .videos-empty-state-line {
    width: 50px;
    height: 2px;
    margin: 16px auto;
  }
  
  .images-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .image-card img {
    height: 180px;
  }
  
  /* Gallery Empty State Mobile */
  .gallery-empty-state {
    padding: 40px 15px;
    min-height: 250px;
  }
  
  .gallery-empty-state-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  
  .gallery-empty-state-icon i {
    font-size: 28px;
  }
  
  .gallery-empty-state-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .gallery-empty-state-message {
    font-size: 14px;
    max-width: 100%;
  }
  
  .gallery-empty-state-line {
    width: 50px;
    height: 2px;
    margin: 16px auto;
  }
  
  .video-play-button {
    width: 56px;
    height: 56px;
  }
  
  .video-play-button i {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
  }
  
  .video-info {
    padding: 16px;
  }
}

/* Improved Tabs Styling - Minimal Design */
/* Center the tabs container - target parent div */
section.section2 .d-flex,
section.section2 > div.d-flex,
.d-flex.justify-content-start:has(.nav-tabs),
.d-flex:has(.nav-tabs) {
  justify-content: center !important;
}

/* Alternative selector for browsers that don't support :has() */
section.section2 .d-flex .nav-tabs {
  margin-left: auto;
  margin-right: auto;
}

.nav-tabs {
  border-bottom: 2px solid var(--border-light);
  justify-content: center !important;
  gap: 4px;
  margin-bottom: 30px;
  background-color: var(--bg-light);
  padding: 8px;
  border-radius: 12px;
  display: flex;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-tabs .nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 20px;
  margin: 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  line-height: 1.4;
  min-height: 44px;
}

.nav-tabs .nav-link i {
  font-size: 16px;
  opacity: 0.8;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
}

.nav-tabs .nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(37, 99, 235, 0.08);
  border-bottom-color: transparent;
  transform: translateY(-2px);
}

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

.nav-tabs .nav-link.active {
  color: #ffffff;
  background: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
  position: relative;
  z-index: 1;
}

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

.resource-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin: auto;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.resource-card img {
  width: 100%;
  height: auto;
}

.resource-content {
  padding: 15px;
}

.resource-content h2 {
  color: #004a91;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.resource-content .meta {
  color: #777;
  font-size: 0.9rem;
}

/* ============================================
   Case Study Swiper Slider CSS
   ============================================ */
.my-case-studies-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
}

.my-case-studies-swiper .swiper-wrapper {
  overflow: visible !important;
}

.my-case-studies-swiper .swiper-slide {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease;
}

.my-case-studies-swiper .swiper-slide:hover {
  transform: translateY(-5px);
}

.my-case-studies-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.my-case-studies-content {
  padding: 10px;
}

.my-case-studies-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #000;
}

.my-case-studies-desc {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.my-case-studies-date {
  font-size: 0.8rem;
  color: #888;
}

/* ============================================
   Documents Section
   ============================================ */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
  max-width: 100%;
}

/* Ensure at least 4 cards fit on larger screens */
@media (min-width: 1200px) {
  .documents-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.document-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.6s ease-out backwards;
  overflow: hidden;
}

.document-card:nth-child(1) { animation-delay: 0.1s; }
.document-card:nth-child(2) { animation-delay: 0.2s; }

.document-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

/* Document Preview Image */
.document-preview-image {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--bg-light);
}

.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: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.95);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: var(--shadow-md);
}

.document-overlay i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

.document-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.document-icon i {
  font-size: 28px;
  color: white;
}

.document-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px 24px 24px;
}

.document-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.document-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.document-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

/* Standard Size Buttons with High Contrast and Centered Icons */
.btn-preview,
.btn-download {
  min-height: 40px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
}

.btn-preview {
  background: #0066cc;
  color: #ffffff;
  border: 1px solid #0066cc;
}

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

.btn-preview:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.btn-preview:disabled {
  background: #d1d5db;
  color: #6b7280;
  border-color: #d1d5db;
  cursor: not-allowed;
  opacity: 1;
}

.btn-preview:disabled i {
  color: #6b7280;
  opacity: 1;
}

.btn-preview i,
.btn-download i {
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
}

.btn-preview span,
.btn-download span {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.btn-download {
  background: #0066cc;
  color: #ffffff;
  border: 2px solid #0066cc;
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

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

.btn-download:active {
  background: #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);
}

/* Document Preview Modal */
#documentPreviewModal .modal-content {
  border-radius: 12px;
  overflow: hidden;
}

#documentPreviewModal .modal-header {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
}

#documentPreviewModal .modal-title {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

#documentPreviewModal .modal-body {
  background: var(--bg-white);
}

#documentPreviewFrame {
  border: none;
  background: var(--bg-light);
}

#documentPreviewModal .modal-footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  padding: 12px 20px;
}

/* Responsive adjustments for documents */
@media (max-width: 768px) {
  .documents-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .document-card {
    flex-direction: column;
  }
  
  .document-preview-image {
    height: 220px;
  }
  
  .document-content {
    padding: 16px 20px 20px 20px;
  }
  
  .document-overlay {
    width: 40px;
    height: 40px;
    font-size: 18px;
    top: 10px;
    right: 10px;
  }
  
  .document-overlay i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
  }
  
  .document-actions {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;
  }
  
  .btn-preview,
  .btn-download {
    flex: 1;
    justify-content: center;
    min-width: 120px;
  }
  
  #documentPreviewModal .modal-dialog {
    margin: 10px;
  }
  
  #documentPreviewFrame {
    height: 70vh !important;
  }
}

/* ============================================
   Responsive Design - Mobile
   ============================================ */
@media (max-width: 767px) {
  /* Breadcrumb Mobile */
  .breadcrumb {
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 12px;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 6px;
  }

  /* Section 1 Mobile */
  .section1 {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  #prevBtn {
    left: 8px;
  }
  
  #nextBtn {
    right: 8px;
  }
  
  .sliderImageSize {
    height: 470px;
  }
  
  .thumb-img {
    width: 60px;
    height: 60px;
  }
  
  .thumbnail-gallery {
    padding: 12px;
    gap: 8px !important;
  }
  
  #mainImageWrapper {
    padding: 0;
    overflow: hidden;
  }

  .breadcrumb-wrapper {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
  }

  .breadcrumb-wrapper-top {
    margin: 0 0 15px 0;
    width: auto;
    display: inline-block;
  }

  .breadcrumb-wrapper-top .breadcrumb {
    width: auto;
    max-width: 100%;
  }

  .breadcrumb {
    padding: 8px 12px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  
  .breadcrumb-item {
    white-space: normal;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 6px;
    font-size: 14px;
  }

  .produuctDetails > h1 {
    font-size: 20px;
  }

  /* Section 2 Mobile - Tab section */
  .section2 {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
  }

  /* Contact Us button - Keep visible on mobile */
  .contactUsdropdown {
    display: block !important;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
  }

  .contact-toggle-btn {
    width: 100%;
    justify-content: center;
    min-height: 40px;
  }

  /* Button container - ensure both buttons are visible and properly spaced */
  .d-flex.gap-3.align-items-center.flex-wrap.my-4 {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .get-quote-btn {
    flex: 1 1 auto;
    min-width: 160px;
    width: auto;
  }

  .contactUsdropdown {
    flex: 1 1 auto;
    min-width: 160px;
  }

  .contact-toggle-btn {
    width: 100%;
    min-width: 160px;
  }

  .contactSection {
    flex-direction: column;
    gap: 10px;
  }

  .tabLinks-text {
    font-size: 18px !important;
  }

  .contactus-dropdown {
    display: none !important;
  }

  /* Specification Mobile */
  #specifications {
    margin-block: 0px !important;
    padding-block: 0px !important;
  }

  #specifications > h2 {
    font-size: 17px;
  }

  /* Section 3 Mobile - Recommended for you */
  .section3 {
    margin-bottom: 10px !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
  }

  .recommended-heading > h2 {
    font-size: 17px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  .custom-spec-table th {
    width: 40%;
  }

  /* Section 4 Mobile - Resources section */
  .section4 {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
  }

  .resources-title {
    font-size: 24px !important;
  }

  #case {
    flex-direction: column !important;
    align-items: center;
  }

  .resource-card {
    width: 100%;
    max-width: 350px;
    margin-bottom: 1.5rem;
  }

  /* Mobile responsive tabs - Improved UX */
  .nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    -ms-overflow-style: auto;
    gap: 8px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 8px;
    margin-bottom: 20px;
    width: auto !important;
    min-width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-tabs::-webkit-scrollbar {
    height: 4px;
    display: block;
  }

  .nav-tabs::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 2px;
  }

  .nav-tabs::-webkit-scrollbar-track {
    background-color: transparent;
  }

  .nav-tabs {
    background-color: var(--bg-light);
    padding: 6px;
    border-radius: 10px;
    gap: 3px;
  }

  .nav-tabs .nav-link {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    min-height: 44px;
    min-width: fit-content;
    white-space: nowrap;
    margin: 0;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 8px;
    background-color: transparent;
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-secondary);
  }

  .nav-tabs .nav-link:active {
    transform: scale(0.96);
  }

  .nav-tabs .nav-link.active {
    background: var(--primary-color);
    color: #ffffff;
    border-bottom-color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
  }

  .nav-tabs .nav-link.active i {
    color: #ffffff;
    opacity: 1;
  }

  .nav-tabs .nav-link:hover {
    background-color: rgba(37, 99, 235, 0.1);
    border-bottom-color: transparent;
    color: var(--primary-color);
  }
  
  .nav-tabs .nav-link i {
    font-size: 15px;
    flex-shrink: 0;
    opacity: 0.8;
  }

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

  /* Section 2 wrapper for mobile tabs - Fix visibility and scrolling */
  section.section2 {
    overflow: visible !important;
  }

  section.section2 .d-flex {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    scroll-behavior: smooth;
    position: relative;
  }

  section.section2 .d-flex::before,
  section.section2 .d-flex::after {
    content: '';
    flex-shrink: 0;
    width: 0;
  }

  section.section2 .d-flex::-webkit-scrollbar {
    height: 4px;
  }

  section.section2 .d-flex::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 2px;
  }

  .custom-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-behavior: smooth;
  }

  .custom-tabs::-webkit-scrollbar {
    height: 4px;
    display: block;
  }

  .custom-tabs::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 2px;
  }

  .custom-tabs::-webkit-scrollbar-track {
    background-color: transparent;
  }

  .custom-tabs .nav-item {
    flex: 0 0 auto !important;
    min-width: fit-content;
    display: block !important;
    visibility: visible !important;
  }

  .custom-tabs .nav-link {
    width: auto !important;
    min-width: fit-content;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Ensure nav-tabs container is visible and scrollable */
  .nav-tabs {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    min-width: 100%;
  }
}

