/* ==========================================================================
   1. BASE STYLES & VARIABLES
   ========================================================================== */
:root {
    --primary-green: #8CC63F; 
    --dark-green: #4CAF50; 
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --text-dark: #333333;
    --text-grey: #666666;
    --footer-bg: #1a1a1a; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif; 
}

html { scroll-behavior: smooth; }

body { 
    background-color: var(--bg-white); 
    color: var(--text-dark); 
    line-height: 1.6; 
    padding-bottom: 60px; 
    overflow-x: hidden; 
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-green { color: var(--primary-green); }
.text-green-light { color: #A5D6A7; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 2rem; text-transform: uppercase; color: var(--text-dark); }

/* ==========================================================================
   2. TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar { background-color: var(--primary-green); color: white; padding: 10px 0; font-size: 0.9rem; font-weight: 600; }
.top-bar-content { display: flex; justify-content: center; gap: 30px; }

.navbar { background: var(--bg-white); padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.nav-links { display: flex; list-style: none; }
.nav-links li a { color: var(--text-dark); text-decoration: none; margin-left: 25px; font-weight: 600; transition: color 0.3s; }
.nav-links li a:hover, .nav-links li a.active { color: var(--primary-green); }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

/* ==========================================================================
   3. HERO SLIDESHOW
   ========================================================================== */
.hero-slider { position: relative; width: 100%; height: 70vh; overflow: hidden; background: #000; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }

.slide-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: white; width: 90%; }
.slide-content h1 { font-size: 3.5rem; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.slide-content p { font-size: 1.5rem; font-weight: 300; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }

/* ==========================================================================
   4. COMPANY INTRO
   ========================================================================== */
.company-intro { padding: 4rem 0; }
.company-intro p { font-size: 1.1rem; color: var(--text-grey); max-width: 800px; margin: 0 auto; }

/* ==========================================================================
   5. PRODUCT SHOWCASE SLIDER (THE E-BIKES) - HEIGHT FIX APPLIED
   ========================================================================== */
.product-showcase { padding: 0 0 4rem 0; text-align: center; }
.showcase-header { background-color: var(--primary-green); padding: 3rem 0; margin-bottom: 2rem; }
.showcase-header h2 { font-size: 2.2rem; color: #1a1a1a; font-weight: 500; letter-spacing: 1px; }

.product-carousel { 
    position: relative; 
    max-width: 1000px; 
    margin: -60px auto 0; /* Pulls carousel up into the green header */
    z-index: 10; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0 5%; 
}

.bike-arrow { 
    background: white; border: none; width: 40px; height: 40px; border-radius: 50%; 
    font-size: 1.2rem; color: #333; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    z-index: 20; transition: 0.3s; flex-shrink: 0; 
}
.bike-arrow:hover { background: var(--primary-green); color: white; }

/* FIXED: Changed to display: grid so it expands to fit the content height perfectly */
.bike-track { 
    width: 100%; 
    display: grid; 
    margin: 0 20px; 
}

/* FIXED: Changed to grid-area: 1 / 1 so they stack without collapsing the parent */
.bike-slide { 
    grid-area: 1 / 1; 
    width: 100%; 
    opacity: 0; 
    transform: translateX(50px); 
    transition: all 0.5s ease-in-out; 
    visibility: hidden; 
    pointer-events: none; 
}

.bike-slide.active { 
    opacity: 1; 
    transform: translateX(0); 
    visibility: visible; 
    pointer-events: auto; 
    z-index: 2;
}

.bike-image-container { height: 280px; display: flex; align-items: center; justify-content: center; }
.bike-image-container img { max-height: 100%; max-width: 90%; object-fit: contain; filter: drop-shadow(0 15px 15px rgba(0,0,0,0.2)); }

.bike-info-container { background: white; padding-top: 1.5rem; }
.colors-label { font-size: 0.9rem; font-weight: 600; color: #333; margin-bottom: 10px; }
.color-swatches { display: flex; justify-content: center; gap: 10px; margin-bottom: 1.5rem; }
.color-swatches span { display: inline-block; width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

.bike-model-name { font-size: 2rem; font-weight: 800; color: #1a1a1a; margin-bottom: 1.5rem; text-transform: capitalize; }

/* Dark Spec Card inside Product Slider */
.dark-spec-card { 
    background-color: #1a1a1a; 
    border-radius: 8px; 
    padding: 1.5rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 15px; 
    text-align: left; 
    width: 100%;
}
.spec-data { display: flex; flex-direction: column; }
.spec-data span { color: #ffffff; font-size: 0.75rem; font-weight: 600; margin-bottom: 5px; }
.spec-data strong { color: var(--primary-green); font-size: 0.85rem; font-weight: 800; }

.book-now-btn { 
    background-color: var(--primary-green); color: #1a1a1a; border: none; padding: 10px 20px; 
    font-weight: 800; font-size: 0.9rem; border-radius: 4px; cursor: pointer; transition: 0.3s; 
    display: flex; align-items: center; gap: 8px; 
}
.book-now-btn:hover { background-color: #76a832; color: white; }

/* ==========================================================================
   6. STATS, FEATURES, & SPECS SECTIONS
   ========================================================================== */
.stats-section { 
    position: relative; padding: 5rem 0; 
    background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat; 
    background-attachment: fixed; color: white; 
}
.stats-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 60, 30, 0.85); z-index: 1; }
.stats-container { position: relative; z-index: 2; text-align: center; }
.stats-container h2 { font-size: 2.5rem; font-weight: 300; margin-bottom: 3rem; }
.stat-item { display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; gap: 20px; text-align: left; }
.stat-icon { font-size: 3rem; border: 2px solid white; border-radius: 50%; padding: 15px; width: 80px; height: 80px; display: flex; justify-content: center; align-items: center; }
.stat-text p { font-size: 1.2rem; font-weight: 300; margin-bottom: 5px; }
.stat-text h3 { font-size: 2.5rem; color: var(--primary-green); font-weight: 600; }

.features { padding: 4rem 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.feature-card { background: var(--bg-white); padding: 2rem 1rem; border-radius: 8px; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: 0.3s; border-bottom: 3px solid transparent; cursor: pointer; }
.feature-card:hover { transform: translateY(-5px); border-bottom-color: var(--primary-green); box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.feature-card i { font-size: 2.5rem; color: var(--dark-green); margin-bottom: 1rem; }

.specs { padding: 4rem 0; }
.specs-box { background: var(--bg-light); padding: 2rem; border-radius: 10px; border-left: 5px solid var(--primary-green); }
.specs-box ul { list-style: none; }
.specs-box ul li { padding: 10px 0; border-bottom: 1px solid #ddd; font-size: 1.1rem; }
.specs-box ul li:last-child { border-bottom: none; }

/* ==========================================================================
   7. PROFILE & BLOG PAGES
   ========================================================================== */
.page-header { background: var(--bg-light); padding: 4rem 0; text-align: center; border-bottom: 1px solid #ddd; }
.page-header h1 { font-size: 2.5rem; }
.profile-section, .blog-section { padding: 4rem 0; }
.vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 2rem; }
.vm-card { padding: 2rem; border-radius: 10px; text-align: center; }

.contact-info-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; background: var(--bg-light); padding: 2rem; border-radius: 10px; }
.social-links { display: flex; gap: 15px; margin-top: 10px; }
.social-links a { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; background: white; color: var(--text-dark); border-radius: 50%; text-decoration: none; font-size: 1.2rem; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.social-links a:hover { background: var(--primary-green); color: white; transform: translateY(-3px); }
.qr-box { text-align: center; background: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.qr-image { width: 100%; max-width: 200px; margin-top: 10px; border: 2px solid #eee; border-radius: 5px; }

.blog-post { border-bottom: 1px solid #ddd; padding-bottom: 2rem; }
.blog-title { color: var(--text-dark); margin-bottom: 0.5rem; }
.blog-date { font-size: 0.9rem; color: #999; font-style: italic; margin-bottom: 1rem; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer { background-color: var(--footer-bg); color: #ffffff; text-align: center; padding-top: 3rem; }
.site-footer .container { max-width: 800px; margin: 0 auto; padding-bottom: 2rem; }
.footer-about { font-size: 0.95rem; color: #cccccc; line-height: 1.8; margin-bottom: 2.5rem; }
.footer-heading { color: var(--primary-green); font-size: 1.8rem; font-weight: 300; margin-bottom: 1rem; letter-spacing: 1px; }

.footer-links { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 2.5rem; }
.footer-links li a { color: #ffffff; text-decoration: none; font-size: 1rem; transition: color 0.3s; }
.footer-links li a:hover { color: var(--primary-green); }

.footer-bottom { background-color: var(--primary-green); color: var(--text-dark); padding: 15px 0; font-weight: 600; font-size: 0.9rem; }

/* ==========================================================================
   9. FLOATING BOTTOM BAR & MODAL
   ========================================================================== */
.floating-bar { position: fixed; bottom: 0; left: 0; width: 100%; display: flex; z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,0.2); }
.float-btn { flex: 1; padding: 15px 0; text-align: center; color: white; text-decoration: none; font-weight: bold; border: none; font-size: 1rem; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; }
.btn-call { background-color: #333333; }
.btn-wa { background-color: #66BB6A; }
.btn-enq { background-color: var(--primary-green); }

.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); }
.modal-content { background-color: white; margin: 10% auto; padding: 30px; width: 90%; max-width: 500px; border-radius: 10px; position: relative; animation: slideDown 0.4s ease-out; }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { position: absolute; right: 20px; top: 15px; font-size: 28px; font-weight: bold; color: #aaa; cursor: pointer; }
.close-modal:hover { color: black; }
.modal h2 { margin-bottom: 20px; color: var(--primary-green); }

#enquiryForm input, #enquiryForm textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit; }
.submit-btn { width: 100%; padding: 12px; background: var(--primary-green); color: white; border: none; border-radius: 5px; font-weight: bold; font-size: 1.1rem; cursor: pointer; transition: 0.3s; }
.submit-btn:hover { background: var(--dark-green); }

/* ==========================================================================
   10. RESPONSIVE DESIGN (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: