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

:root {
    --primary: #2C3E50;
    --secondary: #1ABC9C;
    --accent: #3498DB;
    --light: #F8F9FA;
    --dark: #2C3E50;
    --gray: #7F8C8D;
    --border: #E0E0E0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header & Navigation */
.header {
    background-color: var(--primary);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 5px;
}

.logo h1 a {
    color: white;
    text-decoration: none;
}

.tagline {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 300;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--secondary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: var(--primary);
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a252f 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #16A085;
    color: white;
}

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

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

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Cards */
.features-grid,
.machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card,
.machine-card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover,
.machine-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h3,
.machine-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 22px;
}

/* Table Styles */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.specs-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.specs-table tr:nth-child(even) {
    background-color: var(--light);
}

.specs-table tr:hover {
    background-color: rgba(26, 188, 156, 0.1);
}

/* Contact Form */
.contact-form {
    background-color: var(--light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--secondary);
    outline: none;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .features-grid,
    .machines-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-table {
        display: block;
        overflow-x: auto;
    }
    /* Add these to your existing style.css file */

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(150%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background-color: #27ae60;
}

.notification-error {
    background-color: #e74c3c;
}

.notification-info {
    background-color: #3498db;
}

.notification-warning {
    background-color: #f39c12;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 15px;
    padding: 0;
    font-size: 16px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #16A085;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Modal Styles */
.machine-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.machine-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.machine-modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--primary);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: rgba(255,255,255,0.2);
}

.modal-body {
    padding: 30px;
}

/* Form Error Styles */
.form-group {
    position: relative;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control.error {
    border-color: #e74c3c;
}

.form-control.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

/* Form Focus Effects */
.form-group.focused label {
    color: var(--secondary);
    transform: translateY(-5px);
    font-size: 14px;
}

/* Animation for Cards */
.feature-card, .machine-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.animated, .machine-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }

/* Machine Card Cursor Pointer */
.machine-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.machine-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Loading Spinner */
.fa-spinner {
    margin-right: 8px;
}

/* Counter Animation */
.counter {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

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

/* Lazy Loading Images */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[data-src].loaded {
    opacity: 1;
}

/* Mobile Menu Icon Animation */
.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

/* Table Row Hover Enhancement */
.specs-table tr {
    transition: background-color 0.3s ease;
}

/* Button Loading State */
.btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Form Validation Success */
.form-control.valid {
    border-color: #27ae60;
}

/* Add to existing responsive styles */
@media (max-width: 768px) {
    .notification {
        min-width: 90%;
        right: 5%;
        left: 5%;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    /* Machine Page Specific Styles */

/* Machine Cards Enhancement */
.machine-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
    background: rgba(26, 188, 156, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Table Enhancements */
.table-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

#completeSpecsTable {
    width: 100%;
    min-width: 1000px;
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-single {
    background-color: #E8F4F8;
    color: #2980B9;
}

/* Speed Highlight */
.speed-highlight {
    color: var(--secondary);
    font-weight: 600;
    background: rgba(26, 188, 156, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

/* Complete Table Styles */
#completeSpecsTable th {
    white-space: nowrap;
    padding: 15px 12px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    text-align: center;
}

#completeSpecsTable td {
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
}

#completeSpecsTable td:first-child {
    text-align: left;
    min-width: 180px;
}

#completeSpecsTable td:first-child strong {
    display: block;
    color: var(--primary);
    font-size: 16px;
}

#completeSpecsTable td:first-child small {
    color: var(--gray);
    font-size: 13px;
}

#completeSpecsTable tr:nth-child(even) {
    background-color: var(--light);
}

#completeSpecsTable tr:hover {
    background-color: rgba(26, 188, 156, 0.05);
}

/* Specifications Note */
.specs-note {
    background: #FFF3CD;
    border-left: 4px solid #FFC107;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #856404;
}

.specs-note i {
    color: #FFC107;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Enhanced Highlight */
.specs-highlight {
    background: linear-gradient(135deg, #E8F4F8 0%, #F8F6E8 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    margin-top: 30px;
}

.highlight-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.highlight-content i {
    color: var(--secondary);
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 5px;
}

.highlight-content h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 18px;
}

.highlight-content ul {
    list-style: none;
    padding: 0;
}

.highlight-content li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.highlight-content li:before {
    content: "✓";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Accordion Styles */
.specs-accordion {
    max-width: 800px;
    margin: 50px auto 0;
}

.accordion {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: var(--light);
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.accordion-content.active {
    padding: 20px;
    max-height: 500px;
}

/* Specs Detail in Accordion */
.specs-detail h4 {
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.specs-detail ul {
    list-style: none;
    padding: 0;
}

.specs-detail li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.specs-detail li:before {
    content: "•";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* Accessories Grid */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.accessory-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.accessory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.accessory-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.accessory-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.accessory-details h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.accessory-details ul {
    list-style: none;
    padding: 0;
}

.accessory-details li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.accessory-details li:before {
    content: "•";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Customization CTA */
.cta-customization {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: white;
    text-align: center;
    border-radius: 15px;
    margin: 50px auto;
    max-width: 1200px;
    padding: 60px 40px;
}

.cta-icon {
    font-size: 60px;
    color: var(--secondary);
    margin-bottom: 25px;
}

.cta-content h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.btn-cta {
    background-color: var(--secondary);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
}

.btn-cta:hover {
    background-color: #16A085;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-note {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-note i {
    color: var(--secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .highlight-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    #completeSpecsTable {
        font-size: 14px;
    }
    
    #completeSpecsTable th,
    #completeSpecsTable td {
        padding: 10px 8px;
    }
    
    .accessories-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-customization {
        padding: 40px 20px;
        margin: 30px auto;
    }
}

@media (max-width: 480px) {
    .cta-customization {
        padding: 30px 15px;
    }
}
}
}