* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  body {
    background-color: #f5f5f7;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }


/* Main Navigation Bar */
.navbar {
  background-color: #f5f5f7;
  color: #000000;
  height: 60px;
  position: relative;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar .container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 30px;
}

/* Responsive Logo Sizing */
.logo img {
  height: 32px;
  vertical-align: middle;
}

/* Search Container */
.search-container {
  position: relative;
  width: 400px;
  margin-left: auto;
}

.search-form {
  display: flex;
  align-items: center;
  background-color: #ffffff;  /* Changed from #e8e8ed to white */
  border-radius: 25px;
  width: 100%;
  border: 1px solid #000000;  /* Added black border */
}

.search-input {
  background-color: transparent;
  border: none;
  color: #000000;
  font-size: 14px;
  outline: none;
  padding: 8px 15px;
  border-radius: 8px;
  width: 100%;
  visibility: visible;
}

.search-input::placeholder {
  color: #1d1d1f;  /* Changed from #86868b to darker gray for better contrast */
}

.search-button {
  background: transparent;
  border: none;
  color: #000000;  /* Changed from #86868b to black */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}

.search-button svg {
  width: 16px;
  height: 16px;
}

/* Search Results */
.search-results {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1010;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #000000;  /* Added black border for consistency */
}

/* Search Result Items */
.search-results .search-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.search-results .search-item:hover {
  background-color: #f0f0f0;  /* Changed from #f5f5f7 to lighter gray */
}

.search-results .search-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 12px;
}

.search-results .search-item .item-details {
  flex: 1;
}

.search-results .search-item .item-name {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 2px;
}

.search-results .search-item .item-price {
  font-size: 12px;
  color: #86868b;
}

/* White separator bar */
.white-separator {
  width: 100%;
  height: 15px;
  background-color: #ffffff;
}

/* Categories Navigation Container */
.nav-container {
  background-color: #f5f5f7;
  border-bottom: 1px solid #d2d2d7;
  padding-top: 5px;
  padding-bottom: 5px;
}

.main-navbar {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

/* Desktop Categories Navigation */
.desktop-category-navbar {
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.desktop-category-navbar::-webkit-scrollbar {
  display: none;
}

.category-list {
  display: flex;
  padding: 20px 0;
  white-space: nowrap;
  justify-content: center;
  gap: 40px;
  margin: 0 auto;
}

.category-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  min-height: 115px;
  justify-content: flex-end;
  text-align: center;
}

.category-list li img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.category-list li:hover img {
  transform: scale(1.05);
}

.category-list li span {
  font-size: 14px;
  color: #1d1d1f;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Menu Toggle - REMOVED */
.menu-toggle {
  display: none !important;
}

/* Mobile Categories Menu - REMOVED */
.mobile-category-menu {
  display: none !important;
}

/* Mobile Search */
.search-icon-mobile {
  display: none;
  color: #000000;
  cursor: pointer;
  margin-left: auto;
  margin-right: 10px;
  padding: 10px;
}

.search-icon-mobile svg {
  width: 24px;
  height: 24px;
}

.mobile-search-container {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: #ffffff;  /* Changed from #f5f5f7 to white */
  padding: 10px;
  z-index: 1001;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: none;
  border-bottom: 1px solid #000000;  /* Added black border */
}

.mobile-search-container.active {
  display: block;
}

.mobile-search-form {
  display: flex;
  align-items: center;
  position: relative;
}

.mobile-search-input {
  flex: 1;
  border: none;
  background-color: #ffffff;  /* Changed from #e8e8ed to white */
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 16px;
  outline: none;
  border: 1px solid #000000;  /* Added black border */
  color: #000000;  /* Ensure text is black */
}

.mobile-search-input::placeholder {
  color: #1d1d1f;  /* Changed to darker gray for better contrast */
}

.mobile-search-button, 
.close-search-button {
  background: transparent;
  border: none;
  color: #000000;  /* Changed from #86868b to black */
  cursor: pointer;
  padding: 0 10px;
}

.close-search-button {
  position: absolute;
  right: 40px;
}

#mobileSearchResults {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #000000;  /* Added black border */
  border-top: none;  /* Remove top border to connect with input */
}

/* Mobile Search Result Items */
#mobileSearchResults .search-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

#mobileSearchResults .search-item:hover {
  background-color: #f0f0f0;  /* Changed from #f5f5f7 to lighter gray */
}

#mobileSearchResults .search-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 12px;
}

#mobileSearchResults .search-item .item-details {
  flex: 1;
}

#mobileSearchResults .search-item .item-name {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 2px;
}

#mobileSearchResults .search-item .item-price {
  font-size: 12px;
  color: #86868b;
}

/* Media Queries */
@media (max-width: 1200px) {
  .logo img {
      height: 30px;
  }
  
  .navbar .container {
      padding: 0 20px;
  }
  
  .category-list {
      justify-content: center;
  }
  
  .search-container {
      width: 250px;
  }
}

@media (max-width: 992px) {
  .logo img {
      height: 28px;
  }
  
  .desktop-category-navbar {
      width: 100%;
      overflow-x: hidden;
  }
  
  .category-list {
      gap: 30px;
      justify-content: center;
      padding: 20px 0;
  }
  
  .category-list li img {
      width: 75px;
      height: 75px;
  }
  
  .search-container {
      width: 200px;
  }
}

@media (max-width: 768px) {
  .logo img {
      height: 26px;
  }
  
  .navbar .container {
      padding: 0 15px;
  }
  
  .search-container {
      display: none;
  }
  
  .search-icon-mobile {
      display: flex;
  }
  
  .desktop-category-navbar {
      overflow-x: auto;
      width: 100%;
      scrollbar-width: thin;
  }
  
  .category-list {
      justify-content: center;
      align-items: center;
      padding: 20px 10px;
      gap: 25px;
      width: max-content;
      margin: 0;
  }
  
  .category-list li img {
      width: 70px;
      height: 70px;
  }
  
  .category-list li span {
      font-size: 13px;
  }
}

@media (max-width: 576px) {
  .logo img {
      height: 24px;
  }
  
  .category-list li img {
      width: 60px;
      height: 60px;
  }
  
  .category-list li span {
      font-size: 12px;
  }
  
  .category-list {
      gap: 20px;
  }
}

@media (max-width: 480px) {
  .logo img {
      height: 22px;
  }
  
  .category-list li img {
      width: 55px;
      height: 55px;
  }
  
  .category-list li span {
      font-size: 11px;
  }
  
  .category-list {
      gap: 15px;
  }
}






/* category container over  */


/* footer   */

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

.tech-footer {
    font-family: 'Poppins', Arial, sans-serif;
    padding: 40px 20px;
    background-color: #f5f5f7;
    color: #333333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 20px;
    align-self: flex-start;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 500px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    position: relative;
    padding-left: 30px;
}

.contact-icon {
    color: #000000;
    font-size: 18px;
    position: absolute;
    left: 0;
}

.footer-right {
    width: 40%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-divider {
    width: 120px;
    height: 3px;
    background-color: #000000;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links li {
    position: relative;
    padding-left: 30px;
    display: flex;
    align-items: center;
}

.arrow-icon {
    color: #000000;
    font-size: 14px;
    position: absolute;
    left: 0;
}

.footer-links a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-left, .footer-right {
        width: 100%;
        max-width: 100%;
    }

    .footer-right {
        margin-top: 30px;
    }
}



/* product page  */

/* Banner Section CSS */
.banner-section {
    background-color: #000;
    background-size: cover;
    background-position: center;
    height: 120px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
  }
  
  .banner-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .banner-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .breadcrumb {
    font-size: 1rem;
  }
  
  .breadcrumb a {
    color: white;
    text-decoration: none;
  }
  
  .breadcrumb a:hover {
    text-decoration: underline;
  }
  
  .breadcrumb-separator {
    margin: 0 10px;
  }
  
  .current-page {
    color: white;
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .banner-title {
      font-size: 1.5rem;
    }
    
    .breadcrumb {
      font-size: 0.875rem;
    }
  }







/* product details  */
/* General Container */
.container1 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  .product-gallery {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 30px;
}

/* Thumbnail container styles */
.thumbnail-container {
    display: flex;
    flex-direction: column;
    width: 120px;
    height: 600px;
    position: relative;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 5px;
    height: 540px; /* Fixed height to leave space for buttons */
    overflow-y: auto; /* Critical for vertical scrolling */
    scrollbar-width: thin;
    margin: 30px 0; /* Space for buttons */
    position: relative;
    z-index: 1;
}

/* Force thumbnail size to remain constant */
.thumbnail {
    min-width: 100px;
    min-height: 100px;
    width: 100px;
    height: 100px;
    flex-shrink: 0; /* Prevent thumbnails from shrinking */
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.7;
    transition: opacity 0.3s, border-color 0.3s;
    position: relative;
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border-color: #333;
}

.thumbnail img, .thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styling the scrollbar for thumbnails */
.thumbnails::-webkit-scrollbar {
    width: 6px;
}

.thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.thumbnails::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.thumbnails::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.video-icon, .model-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 4px;
}

.scroll-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s, background-color 0.3s;
    pointer-events: auto; /* Ensure clicks are registered */
}

.scroll-button:hover {
    background-color: rgba(240, 240, 240, 0.9);
}

.scroll-up {
    top: 0;
}

.scroll-down {
    bottom: 0;
}

/* Main display styles */
.main-display {
    flex: 1;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

/* Main display navigation buttons */
.main-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    font-size: 18px;
    transition: background-color 0.3s, opacity 0.3s;
    opacity: 0.7;
}

.main-nav-button:hover {
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
}

.main-prev {
    left: 15px;
}

.main-next {
    right: 15px;
}

.main-display img, .main-display video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

model-viewer {
    width: 100% !important;
    height: 100% !important;
    background-color: #f8f8f8;
    min-height: 400px;
    display: block;
}

/* Fix for model-viewer in Safari */
model-viewer::part(default) {
    width: 100% !important;
    height: 100% !important;
}

.media-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease-out;
}

.view-3d-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: background-color 0.3s;
}

.view-3d-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.view-3d-button.active {
    background-color: #4285f4;
}

.view-3d-icon {
    width: 30px;
    height: 30px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .product-gallery {
        flex-direction: column;
        padding: 10px;
    }

    .main-display {
        order: 1;
        height: 400px;
    }

    .media-container video {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }

    model-viewer {
        min-height: 350px;
    }

    .thumbnail-container {
        order: 2;
        width: 100%;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        margin-top: 15px;
    }

    .thumbnails {
        flex-direction: row;
        min-width: min-content;
        height: auto;
        margin: 0 30px; /* Space for buttons on the sides */
    }

    /* Force thumbnail size to remain constant in mobile view too */
    .thumbnail {
        min-width: 100px;
        min-height: 100px;
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }

    .thumbnails::-webkit-scrollbar {
        height: 6px;
        width: auto;
    }

    .scroll-button {
        top: 50%;
        transform: translateY(-50%);
    }

    .scroll-up {
        left: 5px;
        transform: rotate(270deg);
    }

    .scroll-down {
        right: 5px;
        left: auto;
        transform: rotate(90deg);
    }
}

/* Tablet view */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-gallery {
        padding: 15px;
        gap: 20px;
    }
    
    .main-display {
        height: 500px;
    }
    
    model-viewer {
        min-height: 450px;
    }
    
    .thumbnail-container {
        width: 100px;
    }
    
    .thumbnail {
        min-width: 90px;
        min-height: 90px;
        width: 90px;
        height: 90px;
        flex-shrink: 0;
    }
}

/* Media container transitions for sliding effect */
.media-slide-transition {
    transition: transform 0.3s ease-out;
}

.media-slide-right {
    transform: translateX(100%);
    opacity: 0;
}

.media-slide-left {
    transform: translateX(-100%);
    opacity: 0;
}

.media-slide-center {
    transform: translateX(0);
    opacity: 1;
}


/* ======================
   Tab Buttons (Desktop)
========================= */
.custom-tab-wrapper .tab-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 20px auto;
  }
  
  .custom-tab-wrapper .tab-button {
    padding: 12px 28px;
    font-size: 20px;
    font-weight: 600;
    min-width: 150px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    white-space: nowrap;
  }
  
  .custom-tab-wrapper .tab-button.active {
    background-color: #8bc34a;
    color: #fff;
    font-weight: bold;
    border: none;
  }
  
  
  /* ===================
     Tab Content
  ====================== */
  .tab-content {
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 25px;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  }
  
  .tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .tab-pane.active {
    display: block;
    opacity: 1;
    animation: contentFadeIn 0.5s forwards;
  }
  
  /* ===================
     Keyframe Animations
  ====================== */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes contentFadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ===================
     Section Titles
  ====================== */
  .section-title {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-bottom: 10px;
  }
  
  .section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #8bc34a;
    border-radius: 2px;
  }
  
  
  /* ===================
     Mobile Accordion
  ====================== */
  .mobile-accordion {
    display: none;
    margin-top: 20px;
    width: 95%;
    padding-left: 20px;
  }
  
  .accordion-item {
    margin-bottom: 15px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  
  .accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .accordion-header:hover {
    background-color: #f2f2f2;
  }
  
  .accordion-header .header-text {
    font-size: 16px;
    font-weight: 600;
  }
  
  .accordion-header.active {
    color: #000;
    background-color: #f0f9e8;
    border-color: #d9ebc5;
  }
  
  .accordion-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(139, 195, 74, 0.1);
  }
  
  .accordion-header.active .accordion-icon {
    transform: rotate(180deg);
    background-color: rgba(139, 195, 74, 0.3);
  }
  
  .accordion-content {
    display: none;
    padding: 0 20px 20px 20px;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .accordion-content.show {
    display: block;
    opacity: 1;
    animation: accordionOpen 0.4s forwards;
  }
  
  @keyframes accordionOpen {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ===================
     Responsive Layout
  ====================== */
  @media (max-width: 1024px) {
    .tab-buttons,
    .tab-content {
      display: none;
    }
  
    .mobile-accordion {
      display: block;
    }
  
    .accordion-header {
      padding: 15px;
    }
  
    .container1 {
      padding: 15px;
    }
  
    .section-title {
      font-size: 22px;
      margin-bottom: 20px;
    }
  }
  
  @media (min-width: 1025px) {
    .mobile-accordion {
      display: none;
    }
  
    .tab-buttons,
    .tab-content {
      display: block;
    }
  }
  



.footer-navbar {
    background-color: #ffffff; /* Bright green color from the image */
    width: 100%;
    padding: 8px 0;
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 14px;
}

.copyright {
    display: inline-block;
}

.company-link {
    font-weight: bold;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.company-link:hover {
    text-decoration: underline;
}






/* Related Products Section */
.related-products {
    padding: 4rem 2rem;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #333;
}

.related-products-grid {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.related-products-grid::-webkit-scrollbar {
    display: none;
}

.related-product-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.related-product-card:hover {
    transform: translateY(-5px);
}

.related-product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
}

.related-product-card h3 {
    padding: 1rem;
    margin-top: 20px;
    font-size: 2rem;
    color: #000000;
    align-items: center;
    text-align: center;
    font-weight: 800;
}

.related-product-card .view-details-btn {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: #000;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.related-product-card .view-details-btn:hover {
    background: #333;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-prev {
    left: 1rem;
}

.slider-next {
    right: 1rem;
}

@media (max-width: 768px) {
    .related-product-card {
        flex: 0 0 250px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
    }
}

.model-viewer-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.model-viewer-container model-viewer {
    --poster-color: transparent;
    --progress-bar-color: #007bff;
    --progress-bar-height: 2px;
    --progress-mask: none;
}

@media (max-width: 768px) {
    .model-viewer-container {
        margin: 1rem auto;
    }
    
    .model-viewer-container model-viewer {
        height: 300px !important;
    }
}



/* Other Products */

/* Other Products Section */
#otherProducts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 15px 15px 15px;
  margin-top: 0;
}

/* Link Container */
.other-section-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

/* Card Container */
.other-section-card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  height: 500px; /* Increased height */
  position: relative;
  background-color: #000000; /* Black background like iPad Pro */
}

.other-section-card:hover {
  transform: translateY(-5px);
}

/* Info Container */
.other-section-info {
  padding: 2rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  position: relative;
}

/* Image Container */
.other-section-image-container {
  overflow: hidden;
  height: auto;
  position: relative;
  margin-top: auto; /* Pushes the image to bottom */
  padding: 0 2rem 2rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Product Image */
.other-section-image {
  width: 70%; /* Reduced width */
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  max-height: 300px; /* Added maximum height */
}

/* Title Styles */
.other-section-title {
  margin: 0 0 0.5rem 0;
  font-size: 2.5rem;
  color: #ffffff; /* White text for contrast */
  font-weight: 600;
}

/* Text Styles */
.other-section-text {
  color: #ffffff; /* White text */
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Responsive styles */
@media (max-width: 768px) {
  #otherProducts {
      grid-template-columns: 1fr;
  }
  
  .other-section-card {
      height: 450px; /* Adjusted for mobile */
  }
  
  .other-section-image-container {
      padding: 0 1rem 1rem 1rem;
  }
  
  .other-section-image {
      width: 80%; /* Slightly larger on mobile */
  }
}





/* Loader styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #4285f4;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Extra-Other Products Section */
.extra-other-products {
    padding: 4rem 0;
}

#extraOtherProducts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Link Container */
#extraOtherProducts .other-section-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Card Container */
#extraOtherProducts .other-section-card {
   
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
}

#extraOtherProducts .other-section-card:hover {
    transform: translateY(-5px);
}

/* Image Container */
#extraOtherProducts .other-section-image-container {
    overflow: hidden;
    height: 250px;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}

/* Product Image - with animation */
#extraOtherProducts .other-section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    transform: scale(1.3);
}

/* Hover effect for image */
#extraOtherProducts .other-section-card:hover .other-section-image {
    transform: rotate(5deg) scale(1.35) translateY(-5px);
    animation: floatRotate 0.8s ease-in-out alternate infinite;
}

/* Info Container */
#extraOtherProducts .other-section-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #fafafa;
    text-align: center;
    z-index: 2;
    position: relative;
}

/* Title Styles */
#extraOtherProducts .other-section-title {
    margin: 0;
    font-size: 2rem;
    color: #000000;
    min-height: 2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: bold;
}

/* Text Styles */
#extraOtherProducts .other-section-text {
    color: #797979;
    margin-bottom: 0.5rem;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Responsive styles */
@media (max-width: 768px) {
    #extraOtherProducts {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    #extraOtherProducts .other-section-image-container {
        height: 200px;
    }
}