* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Poppins', sans-serif;
      color: #333;
      line-height: 1.6;
      background-color: #f9f9f9;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    .section-title {
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 20px;
      color: #253f71;
      position: relative;
    }
    
    .animate-border {
      display: block;
      width: 80px;
      height: 4px;
      background: #253f71;
      margin: 0 auto 40px;
      position: relative;
      border-radius: 2px;
    }
    
    .animate-border::after {
      content: '';
      position: absolute;
      width: 30px;
      height: 4px;
      background: #f58220;
      animation: border-move 3s infinite ease-in-out;
      border-radius: 2px;
    }
    
    @keyframes border-move {
      0% { left: 0; }
      50% { left: 50px; }
      100% { left: 0; }
    }
    
    .top-strip {
      background-color: #253f71;
      color: white;
      padding: 8px 0;
      display: flex;
      justify-content: center;
      gap: 30px;
      font-size: 0.9rem;
    }
    
    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 5%;
      background-color: white;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    
    .header img {
      height: 50px;
    }
    
    #navbar ul {
      display: flex;
      list-style: none;
      gap: 30px;
    }
    
    #navbar a {
      text-decoration: none;
      color: #333;
      font-weight: 600;
      transition: color 0.3s;
    }
    
    #navbar a:hover {
      color: #253f71;
    }
    
    .menu-toggle {
      display: none;
      font-size: 1.5rem;
      cursor: pointer;
    }
    
    .products-hero {
      background: linear-gradient(rgba(37, 63, 113, 0.8), rgba(37, 63, 113, 0.8)), url('https://images.unsplash.com/photo-1591799264318-7e6ef8ddb7ea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwa90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1674&q=80');
      background-size: cover;
      background-position: center;
      color: white;
      padding: 80px 0;
      text-align: center;
    }
    
    .products-hero h1 {
      font-size: 2.8rem;
      margin-bottom: 20px;
    }
    
    .products-hero p {
      font-size: 1.2rem;
      max-width: 700px;
      margin: 0 auto;
    }
    
    .product-filters {
      background: white;
      padding: 30px 0;
      margin: 40px 0;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .filter-options {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      margin-top: 20px;
    }
    
    .filter-btn {
      padding: 10px 20px;
      background: #f1f1f1;
      border: none;
      border-radius: 30px;
      cursor: pointer;
      transition: all 0.3s;
      font-weight: 600;
    }
    
    .filter-btn:hover {
      background: #e0e0e0;
    }
    
    .filter-btn.active {
      background: #253f71;
      color: white;
    }
    
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 25px;
      padding: 40px 0;
    }
    
    .product-card {
      background: white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      transition: transform 0.3s, box-shadow 0.3s;
      cursor: pointer;
      display: flex;
      flex-direction: column;
    }
    
    .product-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    }
    
    .product-image {
      height: 200px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f8f9fa;
      padding: 15px;
    }
    
    .product-image img {
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
      transition: transform 0.5s;
    }
    
    .product-card:hover .product-image img {
      transform: scale(1.05);
    }
    
    .product-info {
      padding: 18px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    
    .product-info h3 {
      color: #253f71;
      margin-bottom: 10px;
      font-size: 1.1rem;
    }
    
    .product-info p {
      color: #666;
      margin-bottom: 12px;
      font-size: 0.9rem;
      line-height: 1.5;
      flex-grow: 1;
    }
    
    .product-features {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 15px;
    }
    
    .product-feature {
      background: #f1f5f9;
      padding: 4px 8px;
      border-radius: 12px;
      font-size: 0.75rem;
      color: #253f71;
    }
    
    .btn-outline {
      display: inline-block;
      padding: 7px 14px;
      border: 2px solid #253f71;
      color: #253f71;
      text-decoration: none;
      border-radius: 4px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.3s;
      text-align: center;
      margin-top: auto;
    }
    
    .btn-outline:hover {
      background: #253f71;
      color: white;
    }
    
    .product-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 2000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
    }
    
    .product-modal.active {
      opacity: 1;
      visibility: visible;
    }
    
    .modal-content {
      background: white;
      width: 90%;
      max-width: 1200px;
      max-height: 90vh;
      overflow-y: auto;
      border-radius: 10px;
      position: relative;
    }
    
    .close-modal {
      position: absolute;
      top: 15px;
      right: 15px;
      font-size: 1.5rem;
      cursor: pointer;
      z-index: 10;
      color: #333;
      background: white;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .modal-body {
      display: flex;
      flex-direction: column;
    }
    
    @media (min-width: 992px) {
      .modal-body {
        flex-direction: row;
      }
    }
    
    .modal-left {
      flex: 1;
      padding: 25px;
      position: relative;
    }
    
    .modal-image {
      width: 100%;
      height: 300px;
      overflow: hidden;
      border-radius: 8px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f8f9fa;
      padding: 20px;
    }
    
    .modal-image img {
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
    }
    
    .modal-details {
      margin-top: 20px;
    }
    
    .modal-details h2 {
      color: #253f71;
      margin-bottom: 15px;
      font-size: 1.8rem;
    }
    
    .modal-details p {
      margin-bottom: 20px;
      color: #666;
      line-height: 1.6;
    }
    
    .specs-table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
      font-size: 0.9rem;
    }
    
    .specs-table th, .specs-table td {
      padding: 10px;
      text-align: left;
      border-bottom: 1px solid #eee;
    }
    
    .specs-table th {
      background: #f9f9f9;
      color: #253f71;
      width: 40%;
    }
    
    .modal-navigation {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      pointer-events: none;
      z-index: 10;
    }
    
    .nav-arrow {
      pointer-events: auto;
      width: 50px;
      height: 50px;
      background: rgba(255, 255, 255, 0.8);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.5rem;
      color: #253f71;
      cursor: pointer;
      transition: all 0.3s;
      margin: 0 20px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-arrow:hover {
      background: white;
      transform: scale(1.1);
    }
    
    .nav-arrow.left {
      left: 0;
    }
    
    .nav-arrow.right {
      right: 0;
    }
    
    .modal-right {
      flex: 1;
      background: #f8f9fa;
      padding: 25px;
      border-radius: 0 10px 10px 0;
    }
    
    .spec-form {
      margin-top: 0;
    }
    
    .spec-form h3 {
      color: #253f71;
      margin-bottom: 20px;
      font-size: 1.4rem;
      border-bottom: 2px solid #253f71;
      padding-bottom: 10px;
    }
    
    .form-group {
      margin-bottom: 15px;
    }
    
    .form-group label {
      display: block;
      margin-bottom: 5px;
      font-weight: 600;
      color: #253f71;
    }
    
    .form-group select, 
    .form-group input, 
    .form-group textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-family: 'Poppins', sans-serif;
    }
    
    .form-group textarea {
      min-height: 100px;
      resize: vertical;
    }
    
    .modal-actions {
      display: flex;
      gap: 12px;
      margin-top: 20px;
    }
    
    .btn-primary {
      display: inline-block;
      padding: 12px 24px;
      background: #253f71;
      color: white;
      text-decoration: none;
      border: none;
      border-radius: 5px;
      font-weight: 600;
      transition: background 0.3s;
      font-size: 1rem;
      cursor: pointer;
    }
    
    .btn-primary:hover {
      background: #1a2c52;
    }
    
    .btn-secondary {
      display: inline-block;
      padding: 12px 24px;
      background: #f58220;
      color: white;
      text-decoration: none;
      border: none;
      border-radius: 5px;
      font-weight: 600;
      transition: background 0.3s;
      font-size: 1rem;
      cursor: pointer;
    }
    
    .btn-secondary:hover {
      background: #e07210;
    }
    
    .no-products {
      grid-column: 1 / -1;
      text-align: center;
      padding: 40px;
      background: white;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .no-products i {
      font-size: 3rem;
      color: #ccc;
      margin-bottom: 20px;
    }
    
    .no-products h3 {
      color: #666;
      margin-bottom: 10px;
    }
    
    .no-products p {
      color: #888;
    }
    
    footer {
      background: #253f71;
      color: white;
      padding: 50px 0 20px;
      margin-top: 40px;
    }
    
    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      margin-bottom: 30px;
    }
    
    .footer-column h3 {
      margin-bottom: 20px;
      font-size: 1.2rem;
    }
    
    .footer-links {
      list-style: none;
    }
    
    .footer-links li {
      margin-bottom: 10px;
    }
    
    .footer-links a {
      color: #ccc;
      text-decoration: none;
      transition: color 0.3s;
    }
    
    .footer-links a:hover {
      color: white;
    }
    
    .social-links {
      display: flex;
      gap: 15px;
      margin-top: 20px;
    }
    
    .social-links a {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: white;
      transition: background 0.3s;
    }
    
    .social-links a:hover {
      background: rgba(255, 255, 255, 0.2);
    }
    
    .footer-bottom {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 0.9rem;
      color: #ccc;
    }
    
    .multi-item-controls {
      display: flex;
      justify-content: space-between;
      margin: 15px 0;
    }
    .clear-btn {
      background: #e07210;
      color: white;
      border: none;
      padding: 8px 15px;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 600;
      transition: background 0.3;
    } 

    .add-another-btn {
      background: #253f71;
      color: white;
      border: none;
      padding: 8px 15px;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 600;
      transition: background 0.3s;
    }
    
    .add-another-btn:hover {
      background: #3d8b40;
    }
    
    .items-summary {
      margin: 20px 0;
      padding: 15px;
      background: #f0f7ff;
      border-radius: 5px;
      border: 1px solid #c5e1ff;
    }
    
    .items-summary h4 {
      color: #253f71;
      margin-bottom: 10px;
    }
    
    .summary-textarea {
      width: 100%;
      min-height: 120px;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-family: 'Poppins', sans-serif;
      background: white;
      resize: vertical;
    }
    
    .remove-item-btn {
      background: #f44336;
      color: white;
      border: none;
      padding: 5px 10px;
      border-radius: 3px;
      cursor: pointer;
      font-size: 0.8rem;
      margin-left: 10px;
    }
    
    .remove-item-btn:hover {
      background: #d32f2f;
    }
    
    .summary-item {
      margin-bottom: 8px;
      padding: 8px;
      background: white;
      border-radius: 4px;
      border-left: 3px solid #253f71;
    }
    
    .contact-section {
      margin-top: 30px;
      padding-top: 20px;
      border-top: 2px solid #253f71;
    }
    
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
    }
    
    @media (max-width: 768px) {
      .form-row {
        grid-template-columns: 1fr;
      }
      
      .menu-toggle {
        display: block;
      }
      
      #navbar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        z-index: 1001;
        padding: 80px 20px 20px;
      }
      
      #navbar.active {
        right: 0;
      }
      
      #navbar ul {
        flex-direction: column;
      }
      
      .products-hero h1 {
        font-size: 2.2rem;
      }
      
      .section-title {
        font-size: 2rem;
      }
      
      .filter-options {
        gap: 10px;
      }
      
      .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
      }
      
      .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      
      .modal-body {
        flex-direction: column;
      }
      
      .modal-right {
        border-radius: 0 0 10px 10px;
      }
      
      .modal-actions {
        flex-direction: column;
      }
      
      .modal-left, .modal-right {
        padding: 20px;
      }
      
      .product-image {
        height: 180px;
      }
      
      .modal-image {
        height: 250px;
      }
      
      .multi-item-controls {
        flex-direction: column;
        gap: 10px;
      }
      
      .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin: 0 10px;
      }
    }

    .loading {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 9999;
      justify-content: center;
      align-items: center;
    }
    
    .loading-spinner {
      width: 50px;
      height: 50px;
      border: 5px solid #f3f3f3;
      border-top: 5px solid #253f71;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .success-message {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
      text-align: center;
      z-index: 10000;
    }
    
    .success-message i {
      font-size: 3rem;
      color: #4caf50;
      margin-bottom: 15px;
    }
	
	/* Global Cart Styles */
.summary-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    position: relative;
}

.summary-item-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 8px;
}

.summary-item-header strong {
    color: #2c5aa0;
    flex: 1;
}

.remove-item-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
}

.remove-item-btn:hover {
    background: #c82333;
}

.summary-item-details {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.temp-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    z-index: 10000;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.temp-message-success {
    background: #28a745;
}

.temp-message-info {
    background: #17a2b8;
}

.temp-message-error {
    background: #dc3545;
}

.btn-clear {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

.btn-clear:hover {
    background: #5a6268;
}

/* Motor image section styling */
.motor-image-section {
    margin-bottom: 25px;
    text-align: center;
}

.motor-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Form validation styles */
.error {
    border-color: #dc3545 !important;
    background-color: #f8d7da !important;
}

.validation-error {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}




