/* CSS Variables for consistent theming */
    :root {
      --primary: #1a56db;
      --primary-dark: #1e429f;
      --primary-light: #e1effe;
      --secondary: #0e9f6e;
      --secondary-dark: #046c4e;
      --secondary-light: #def7ec;
      --dark: #1f2937;
      --dark-light: #4b5563;
      --light: #f9fafb;
      --gray: #6b7280;
      --light-gray: #f3f4f6;
      --white: #ffffff;
      --success: #0e9f6e;
      --warning: #f05252;
      --info: #3f83f8;
      --border-radius: 8px;
      --border-radius-sm: 4px;
      --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      --shadow-md: 0 6px 8px -1px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      --transition: all 0.3s ease;
    }

    /* Reset and Base Styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: var(--dark);
      background-color: var(--light);
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul, ol {
      padding-left: 1.5rem;
    }

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

    /* Container */
    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Typography */
    h1, h2, h3, h4, h5, h6 {
      margin-bottom: 0.8rem;
      font-weight: 600;
      line-height: 1.2;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }

    @media (max-width: 768px) {
      h1 { font-size: 2rem; }
      h2 { font-size: 1.75rem; }
      h3 { font-size: 1.35rem; }
    }

    p {
      margin-bottom: 1rem;
    }

    /* Header & Navigation */
    header {
      background: var(--white);
      box-shadow: var(--shadow);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 0;
    }

    .logo {
      display: flex;
      align-items: center;
    }

    .logo-text {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary);
      margin-left: 10px;
    }

    .logo-icon {
      color: var(--primary);
      font-size: 1.8rem;
    }

    .desktop-nav {
      display: flex;
      gap: 2rem;
    }

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

    .desktop-nav a {
      font-weight: 500;
      position: relative;
      padding: 0.5rem 0;
      transition: var(--transition);
    }

    .desktop-nav a:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.3s ease;
    }

    .desktop-nav a:hover:after,
    .desktop-nav a.active:after {
      width: 100%;
    }

    .desktop-nav a.active {
      color: var(--primary);
    }

    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--dark);
      cursor: pointer;
    }

    @media (max-width: 768px) {
      .mobile-toggle {
        display: block;
      }
    }

    .mobile-nav {
      display: none;
      background: var(--white);
      padding: 1rem 0;
      box-shadow: var(--shadow);
    }

    .mobile-nav.active {
      display: block;
    }

    .mobile-nav a {
      display: block;
      padding: 0.8rem 1rem;
      font-weight: 500;
      border-bottom: 1px solid var(--light-gray);
      transition: var(--transition);
    }

    .mobile-nav a:hover,
    .mobile-nav a.active {
      background: var(--light-gray);
      color: var(--primary);
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.8rem 1.5rem;
      background: var(--primary);
      color: var(--white);
      border: none;
      border-radius: var(--border-radius-sm);
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
    }

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

    .btn-secondary {
      background: var(--secondary);
    }

    .btn-secondary:hover {
      background: var(--secondary-dark);
    }

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

    .btn-outline:hover {
      background: var(--primary);
      color: var(--white);
    }

    .btn-sm {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
    }

    .btn i {
      margin-right: 0.5rem;
    }

    /* Page Header */
    .page-header {
      background: linear-gradient(to right, rgba(26, 86, 219, 0.9), rgba(30, 66, 159, 0.8)), url('https://images.unsplash.com/photo-1581094288338-231b058b38b8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
      background-size: cover;
      background-position: center;
      color: var(--white);
      padding: 3rem 0;
      margin-bottom: 2rem;
    }

    .breadcrumb {
      display: flex;
      margin-bottom: 1rem;
    }

    .breadcrumb-item {
      margin-right: 0.5rem;
    }

    .breadcrumb-item:not(:last-child):after {
      content: ">";
      margin-left: 1rem;
      opacity: 0.7;
    }

    .breadcrumb a:hover {
      text-decoration: underline;
    }

    .page-header h1 {
      margin-bottom: 0.5rem;
    }

    .page-header p {
      opacity: 0.9;
    }

    /* Product Detail */
    .product-detail {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 3rem;
      margin-bottom: 4rem;
    }

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

    .product-gallery {
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .product-image {
      width: 100%;
      height: 350px;
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .product-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: var(--secondary);
      color: var(--white);
      padding: 0.3rem 0.7rem;
      border-radius: var(--border-radius-sm);
      font-size: 0.8rem;
      font-weight: 600;
    }

    .product-thumbnails {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.5rem;
      padding: 0.5rem;
      background: var(--white);
    }

    .thumbnail {
      height: 80px;
      background-size: cover;
      background-position: center;
      border-radius: var(--border-radius-sm);
      cursor: pointer;
      opacity: 0.7;
      transition: var(--transition);
    }

    .thumbnail:hover,
    .thumbnail.active {
      opacity: 1;
    }

    .product-info {
      background: var(--white);
      border-radius: var(--border-radius);
      padding: 2rem;
      box-shadow: var(--shadow);
    }

    .product-specs {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin: 1.5rem 0;
    }

    .spec-item {
      display: flex;
      flex-direction: column;
    }

    .spec-label {
      font-size: 0.9rem;
      color: var(--gray);
      margin-bottom: 0.3rem;
    }

    .spec-value {
      font-weight: 600;
      font-size: 1.1rem;
    }

    .product-description {
      margin: 1.5rem 0;
      line-height: 1.8;
    }

    .action-buttons {
      display: flex;
      gap: 1rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }

    /* Tabs Section */
    .tabs-section {
      margin-bottom: 4rem;
    }

    .tabs {
      display: flex;
      border-bottom: 1px solid var(--light-gray);
      margin-bottom: 2rem;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .tabs::-webkit-scrollbar {
      display: none;
    }

    .tab-btn {
      padding: 1rem 1.5rem;
      background: none;
      border: none;
      cursor: pointer;
      font-weight: 600;
      color: var(--gray);
      position: relative;
      white-space: nowrap;
    }

    .tab-btn:after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--primary);
      transition: width 0.3s ease;
    }

    .tab-btn.active {
      color: var(--primary);
    }

    .tab-btn.active:after {
      width: 100%;
    }

    .tab-content {
      display: none;
      animation: fadeIn 0.5s ease;
    }

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

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .content-section {
      background: var(--white);
      border-radius: var(--border-radius);
      padding: 2rem;
      box-shadow: var(--shadow);
      margin-bottom: 1.5rem;
    }

    .content-section h3 {
      margin-bottom: 1rem;
      color: var(--dark);
      font-size: 1.3rem;
    }

    .content-section p {
      margin-bottom: 1rem;
      line-height: 1.8;
    }

    .content-section ul {
      margin-bottom: 1rem;
    }

    .content-section li {
      margin-bottom: 0.5rem;
      position: relative;
      padding-left: 1.5rem;
    }

    .content-section li:before {
      content: "•";
      color: var(--primary);
      position: absolute;
      left: 0;
    }

    .specs-table {
      width: 100%;
      border-collapse: collapse;
    }

    .specs-table th, 
    .specs-table td {
      padding: 0.8rem;
      text-align: left;
      border-bottom: 1px solid var(--light-gray);
    }

    .specs-table th {
      font-weight: 600;
      color: var(--dark);
      width: 30%;
    }

    /* Related Products */
    .related-products {
      margin-bottom: 4rem;
    }

    .section-title {
      font-size: 1.8rem;
      margin-bottom: 2rem;
      color: var(--dark);
      position: relative;
      padding-bottom: 0.5rem;
    }

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

    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 2rem;
    }

    .product-card {
      background: var(--white);
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
    }

    .product-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }

    .product-card-image {
      height: 180px;
      background-size: cover;
      background-position: center;
    }

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

    .product-card-category {
      color: var(--primary);
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
      display: block;
    }

    .product-card-title {
      font-size: 1.1rem;
      margin-bottom: 0.8rem;
      color: var(--dark);
    }

    .product-card-actions {
      display: flex;
      justify-content: space-between;
    }

    .product-card-link {
      display: inline-flex;
      align-items: center;
      color: var(--primary);
      font-weight: 600;
      font-size: 0.95rem;
      transition: var(--transition);
    }

    .product-card-link:hover {
      color: var(--primary-dark);
    }

    .product-card-link i {
      margin-left: 0.5rem;
      transition: transform 0.3s ease;
    }

    .product-card-link:hover i {
      transform: translateX(5px);
    }

    /* Inquiry Form */
    .inquiry-form {
      background: var(--white);
      border-radius: var(--border-radius);
      padding: 2rem;
      box-shadow: var(--shadow);
      margin-bottom: 4rem;
    }

    .form-title {
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      color: var(--dark);
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }

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

    .form-group {
      margin-bottom: 1rem;
    }

    .form-group label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
      width: 100%;
      padding: 0.8rem;
      border: 1px solid var(--light-gray);
      border-radius: var(--border-radius-sm);
      font-family: inherit;
      transition: var(--transition);
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px var(--primary-light);
    }

    .form-group textarea {
      min-height: 120px;
      resize: vertical;
    }

    .form-group-full {
      grid-column: 1 / -1;
    }

    .form-submit {
      margin-top: 1rem;
      grid-column: 1 / -1;
      display: flex;
      justify-content: flex-end;
    }

    /* Form validation styles */
    .form-error {
      color: var(--warning);
      font-size: 0.85rem;
      margin-top: 0.3rem;
      display: none;
    }

    .form-group.error input,
    .form-group.error select,
    .form-group.error textarea {
      border-color: var(--warning);
    }

    .form-group.error .form-error {
      display: block;
    }

    /* Footer */
    footer {
      background: var(--dark);
      color: var(--white);
      padding: 4rem 0 2rem;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }

    .footer-column h3 {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
      position: relative;
      padding-bottom: 0.5rem;
    }

    .footer-column h3:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background: var(--primary);
    }

    .footer-column p {
      margin-bottom: 1rem;
      opacity: 0.8;
    }

    .footer-links li {
      margin-bottom: 0.8rem;
    }

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

    .footer-links a:hover {
      opacity: 1;
      color: var(--primary);
    }

    .footer-contact li {
      display: flex;
      align-items: center;
      margin-bottom: 1rem;
    }

    .footer-contact i {
      margin-right: 0.8rem;
      color: var(--primary);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 2rem;
      margin-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      opacity: 0.7;
      font-size: 0.9rem;
    }

    /* Animation utilities */
    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Loading animation for images */
    .img-loading {
      background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
      background-size: 100% 100%;
      animation: loading 1s infinite;
    }

    @keyframes loading {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    /* Accessibility improvements */
    @media (prefers-reduced-motion: reduce) {
      * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Focus styles for accessibility */
    button:focus,
    input:focus,
    select:focus,
    textarea:focus,
    a:focus {
      outline: 2px solid var(--primary);
      outline-offset: 2px;
    }

    /* Skip to main content link */
    .skip-link {
      position: absolute;
      top: -40px;
      left: 0;
      background: var(--primary);
      color: var(--white);
      padding: 8px;
      z-index: 1000;
      transition: top 0.3s;
    }

    .skip-link:focus {
      top: 0;
    }